diff --git a/spec/lib/listen/event/processor_spec.rb b/spec/lib/listen/event/processor_spec.rb index a435a68d..5be8f868 100644 --- a/spec/lib/listen/event/processor_spec.rb +++ b/spec/lib/listen/event/processor_spec.rb @@ -70,7 +70,7 @@ def status_for_time(time) t = Time.now.to_f subject.loop_for(1) diff = Time.now.to_f - t - expect(diff).to be < 0.01 + expect(diff).to be < 0.02 end end end