From e516036492120f5d08f3009cdf0b63d7b04c163a Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 9 Jul 2015 17:05:15 +1000 Subject: [PATCH] correct broken specs --- config/initializers/04-message_bus.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/initializers/04-message_bus.rb b/config/initializers/04-message_bus.rb index 308985a6de8..b8d67a09649 100644 --- a/config/initializers/04-message_bus.rb +++ b/config/initializers/04-message_bus.rb @@ -45,3 +45,8 @@ end MessageBus.cache_assets = !Rails.env.development? MessageBus.enable_diagnostics + +if Rails.env == "test" + # disable keepalive in testing + MessageBus.keepalive_interval = -1 +end