Skip to content

Commit

Permalink
issue #504: fix stubbing to use @_remember_time_of_first_unprocessed_…
Browse files Browse the repository at this point in the history
…event
  • Loading branch information
ColinDKelley committed Nov 24, 2020
1 parent ff8450d commit b2fbfaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/lib/listen/event/processor_spec.rb
Expand Up @@ -214,7 +214,7 @@ def status_for_time(time)
allow(listener).to receive(:wait_for_state).
with(:initializing, :backend_started, :processing_events, :stopped)

subject.instance_variable_set(:@first_unprocessed_event_time, -3)
subject.instance_variable_set(:@_remember_time_of_first_unprocessed_event, -3)
subject.loop_for(1)
end
end
Expand Down

0 comments on commit b2fbfaf

Please sign in to comment.