Formatting

This commit is contained in:
Michael Miller 2019-11-11 23:30:36 -07:00
parent c3cba6962c
commit 48ea53c2f5

View file

@ -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?