aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable
diff options
context:
space:
mode:
authorRafael Mendonça França <rafael@franca.dev>2019-08-02 00:24:21 -0400
committerRafael Mendonça França <rafael@franca.dev>2019-08-02 00:24:21 -0400
commit967beb7229e29c7d09fc3a5bc8205d2a6119e1c5 (patch)
tree48fd29296e0c353ca856e72ce084387b6512ff7e /actioncable
parent6384933994a494a1ea44cb51609534c1ccf639e4 (diff)
downloadrails-967beb7229e29c7d09fc3a5bc8205d2a6119e1c5.tar.gz
rails-967beb7229e29c7d09fc3a5bc8205d2a6119e1c5.tar.bz2
rails-967beb7229e29c7d09fc3a5bc8205d2a6119e1c5.zip
Revert "MethodCallAssertions is a regular player of the team ActiveSupport::TestCase now"
This reverts commit 98d0f7ebd34b858f12a12dcf37ae54fdbb5cab64.
Diffstat (limited to 'actioncable')
-rw-r--r--actioncable/test/test_helper.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/actioncable/test/test_helper.rb b/actioncable/test/test_helper.rb
index b4408b3d6f..033f034b0c 100644
--- a/actioncable/test/test_helper.rb
+++ b/actioncable/test/test_helper.rb
@@ -2,6 +2,7 @@
require "action_cable"
require "active_support/testing/autorun"
+require "active_support/testing/method_call_assertions"
require "puma"
require "rack/mock"
@@ -19,6 +20,8 @@ ActionCable.server.config.cable = { "adapter" => "test" }
ActionCable.server.config.logger = Logger.new(nil)
class ActionCable::TestCase < ActiveSupport::TestCase
+ include ActiveSupport::Testing::MethodCallAssertions
+
def wait_for_async
wait_for_executor Concurrent.global_io_executor
end