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

@ -25,12 +25,12 @@ class Sdk < SdkInterface
end
Spectator.describe Example do
mock Sdk do
stub register_hook(name, &block)
end
# mock Sdk do
# stub register_hook(name, &block)
# end
describe "#configure" do
it "registers a block on configure" do
xit "registers a block on configure", pending: "Mock redesign" do
sdk = Sdk.new
example_class = Example.new(sdk)
allow(sdk).to receive(register_hook())