aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/test/server
diff options
context:
space:
mode:
authorbogdanvlviv <bogdanvlviv@gmail.com>2018-06-08 23:25:32 +0300
committerbogdanvlviv <bogdanvlviv@gmail.com>2018-06-08 23:29:05 +0300
commit74a9a2927774e21b62913eca9103be78515a4719 (patch)
tree9b09efd1e0d7c9c4a60dadfadae0c99cd3695b83 /actioncable/test/server
parentd97f1670bd0437d9b08aa4dd8ea8d2127d3b72e5 (diff)
downloadrails-74a9a2927774e21b62913eca9103be78515a4719.tar.gz
rails-74a9a2927774e21b62913eca9103be78515a4719.tar.bz2
rails-74a9a2927774e21b62913eca9103be78515a4719.zip
Include `ActiveSupport::Testing::MethodCallAssertions` to `ActionCable::TestCase`
Remove all `include ActiveSupport::Testing::MethodCallAssertions` in actioncable's tests since we can do it only in `ActionCable::TestCase` in order to prevent code duplication. We use the same approach for other modules of Rails.
Diffstat (limited to 'actioncable/test/server')
-rw-r--r--actioncable/test/server/base_test.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/actioncable/test/server/base_test.rb b/actioncable/test/server/base_test.rb
index ad06e7ca3c..d46debea45 100644
--- a/actioncable/test/server/base_test.rb
+++ b/actioncable/test/server/base_test.rb
@@ -3,11 +3,8 @@
require "test_helper"
require "stubs/test_server"
require "active_support/core_ext/hash/indifferent_access"
-require "active_support/testing/method_call_assertions"
class BaseTest < ActionCable::TestCase
- include ActiveSupport::Testing::MethodCallAssertions
-
def setup
@server = ActionCable::Server::Base.new
@server.config.cable = { adapter: "async" }.with_indifferent_access