mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Update known issues to use new mock system
This commit is contained in:
parent
99fb47c6e9
commit
193a476679
3 changed files with 10 additions and 12 deletions
|
@ -7,10 +7,10 @@ Spectator.describe "GitHub Issue #28" do
|
|||
end
|
||||
end
|
||||
|
||||
# mock Test
|
||||
mock Test
|
||||
|
||||
xit "matches method stubs with no_args", pending: "Mock redesign" do
|
||||
test = Test.new
|
||||
it "matches method stubs with no_args" do
|
||||
test = mock(Test)
|
||||
expect(test).to receive(:foo).with(no_args).and_return(42)
|
||||
test.foo
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue