From 967beb7229e29c7d09fc3a5bc8205d2a6119e1c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Fri, 2 Aug 2019 00:24:21 -0400 Subject: Revert "MethodCallAssertions is a regular player of the team ActiveSupport::TestCase now" This reverts commit 98d0f7ebd34b858f12a12dcf37ae54fdbb5cab64. --- actioncable/test/test_helper.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'actioncable') 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 -- cgit v1.2.3