aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_helper.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb
index 34c7def46b..f8a9971077 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -39,7 +39,8 @@ class ActionCable::TestCase < ActiveSupport::TestCase
EM.run do
yield
- EM::Timer.new(0.1) { EM.stop }
+ EM.run_deferred_callbacks
+ EM.stop
end
end
end