Address Ameba issues

This commit is contained in:
Michael Miller 2022-05-15 11:06:00 -06:00
parent 1adcf74c3f
commit ac03bd439b
No known key found for this signature in database
GPG key ID: 32B47AE8F388A1FF
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@ Spectator.describe Spectator::ReferenceMockRegistry do
obj1 = "foo"
obj2 = "bar"
registry[obj2] << Spectator::ValueStub.new(:obj2, 42)
expect { registry.fetch(obj2) { no_stubs } }.to_not change { registry[obj2] }
expect { registry.fetch(obj1) { no_stubs } }.to_not change { registry[obj2] }
end
end
end