mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Address Ameba issues
This commit is contained in:
parent
1adcf74c3f
commit
ac03bd439b
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue