diff --git a/spec/guard/listeners/darwin_spec.rb b/spec/guard/listeners/darwin_spec.rb index da05cc0..c6d54eb 100644 --- a/spec/guard/listeners/darwin_spec.rb +++ b/spec/guard/listeners/darwin_spec.rb @@ -61,6 +61,7 @@ private def start sleep 1 + @listener.update_last_event Thread.new { @listener.start } sleep 1 end diff --git a/spec/guard/listeners/linux_spec.rb b/spec/guard/listeners/linux_spec.rb index 46a8ab7..a36b33c 100644 --- a/spec/guard/listeners/linux_spec.rb +++ b/spec/guard/listeners/linux_spec.rb @@ -117,6 +117,7 @@ private def start sleep 1 + @listener.update_last_event Thread.new { @listener.start } sleep 1 end diff --git a/spec/guard/listeners/polling_spec.rb b/spec/guard/listeners/polling_spec.rb index 12e86e6..258783c 100644 --- a/spec/guard/listeners/polling_spec.rb +++ b/spec/guard/listeners/polling_spec.rb @@ -48,6 +48,7 @@ private def start sleep 1 + @listener.update_last_event Thread.new { @listener.start } sleep 1 end diff --git a/spec/guard/listeners/windows_spec.rb b/spec/guard/listeners/windows_spec.rb index 1545164..b0d945e 100644 --- a/spec/guard/listeners/windows_spec.rb +++ b/spec/guard/listeners/windows_spec.rb @@ -76,6 +76,7 @@ private def start sleep 1 + @listener.update_last_event Thread.new { @listener.start } sleep 1 end