Remove or skip mock, double, and stub tests

This commit is contained in:
Michael Miller 2022-03-19 17:20:15 -06:00
parent 0c7f72dc78
commit b83c6b7b1e
No known key found for this signature in database
GPG key ID: 32B47AE8F388A1FF
10 changed files with 30 additions and 268 deletions

View file

@ -7,11 +7,9 @@ Spectator.describe "GitHub Issue #28" do
end
end
mock Test do
stub foo
end
# mock Test
it "matches method stubs with no_args" do
xit "matches method stubs with no_args", pending: "Mock redesign" do
test = Test.new
expect(test).to receive(:foo).with(no_args).and_return(42)
test.foo