aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/test/subscription_adapter/redis_test.rb
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/subscription_adapter/redis_test.rb
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/subscription_adapter/redis_test.rb')
-rw-r--r--actioncable/test/subscription_adapter/redis_test.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/actioncable/test/subscription_adapter/redis_test.rb b/actioncable/test/subscription_adapter/redis_test.rb
index 523c205dca..3dc995331a 100644
--- a/actioncable/test/subscription_adapter/redis_test.rb
+++ b/actioncable/test/subscription_adapter/redis_test.rb
@@ -4,7 +4,6 @@ require "test_helper"
require_relative "common"
require_relative "channel_prefix"
-require "active_support/testing/method_call_assertions"
require "action_cable/subscription_adapter/redis"
class RedisAdapterTest < ActionCable::TestCase
@@ -31,8 +30,6 @@ class RedisAdapterTest::AlternateConfiguration < RedisAdapterTest
end
class RedisAdapterTest::Connector < ActionCable::TestCase
- include ActiveSupport::Testing::MethodCallAssertions
-
test "slices url, host, port, db, and password from config" do
config = { url: 1, host: 2, port: 3, db: 4, password: 5 }