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
|
||||
current_context.stubs.each do |k, v|
|
||||
stubs = if @all_instances.has_key?(k)
|
||||
@all_instances[k].stubs
|
||||
else
|
||||
entry = Entry.new
|
||||
@all_instances[k] = entry
|
||||
entry.stubs
|
||||
end
|
||||
@all_instances[k].stubs
|
||||
else
|
||||
entry = Entry.new
|
||||
@all_instances[k] = entry
|
||||
entry.stubs
|
||||
end
|
||||
stubs.concat(v)
|
||||
end
|
||||
current_context = current_context.parent?
|
||||
|
|
Loading…
Reference in a new issue