mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Remove or skip mock, double, and stub tests
This commit is contained in:
parent
0c7f72dc78
commit
b83c6b7b1e
10 changed files with 30 additions and 268 deletions
|
@ -10,13 +10,13 @@ Spectator.describe "GitHub Issue #33" do
|
|||
end
|
||||
end
|
||||
|
||||
mock Test do
|
||||
stub method2
|
||||
end
|
||||
# mock Test do
|
||||
# stub method2
|
||||
# end
|
||||
|
||||
describe Test do
|
||||
describe "#method1" do
|
||||
it do
|
||||
xit pending: "Mock redesign" do
|
||||
expect(subject).to receive(:method2)
|
||||
|
||||
subject.method1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue