mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Formatting
This commit is contained in:
parent
c3cba6962c
commit
48ea53c2f5
1 changed files with 6 additions and 6 deletions
|
@ -15,12 +15,12 @@ module Spectator::Mocks
|
||||||
while current_context
|
while current_context
|
||||||
current_context.stubs.each do |k, v|
|
current_context.stubs.each do |k, v|
|
||||||
stubs = if @all_instances.has_key?(k)
|
stubs = if @all_instances.has_key?(k)
|
||||||
@all_instances[k].stubs
|
@all_instances[k].stubs
|
||||||
else
|
else
|
||||||
entry = Entry.new
|
entry = Entry.new
|
||||||
@all_instances[k] = entry
|
@all_instances[k] = entry
|
||||||
entry.stubs
|
entry.stubs
|
||||||
end
|
end
|
||||||
stubs.concat(v)
|
stubs.concat(v)
|
||||||
end
|
end
|
||||||
current_context = current_context.parent?
|
current_context = current_context.parent?
|
||||||
|
|
Loading…
Reference in a new issue