spec/support/utils.rb in message-driver-0.4.0 vs spec/support/utils.rb in message-driver-0.5.0
- old
+ new
@@ -1,6 +1,6 @@
module Utils
- def pause_if_needed(seconds=0.1)
+ def pause_if_needed(seconds = 0.1)
seconds *= 10 if ENV['CI'] == 'true'
case BrokerConfig.current_adapter
when :in_memory
else
sleep seconds