spec/helpers.rb in message_bus-2.2.3 vs spec/helpers.rb in message_bus-2.2.4

- old
+ new

@@ -1,4 +1,5 @@ +# frozen_string_literal: true def wait_for(timeout_milliseconds = 2000) timeout = (timeout_milliseconds + 0.0) / 1000 finish = Time.now + timeout Thread.new do