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
|
@ -10,13 +10,13 @@ Spectator.describe "GitHub Issue #33" do
|
|||
end
|
||||
end
|
||||
|
||||
# mock Test do
|
||||
# stub method2
|
||||
# end
|
||||
mock Test
|
||||
|
||||
describe Test do
|
||||
subject { mock(Test) }
|
||||
|
||||
describe "#method1" do
|
||||
xit pending: "Mock redesign" do
|
||||
it do
|
||||
expect(subject).to receive(:method2)
|
||||
|
||||
subject.method1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue