diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2018-06-08 18:54:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-08 18:54:57 -0400 |
commit | 9204c0c5fa96acc2474eaadc8fa538c7f90d7219 (patch) | |
tree | 1e1a6d50191431a71a334b393fd320c948a9f4c5 /actioncable/test/subscription_adapter | |
parent | 34b16ce86526c9b8ce9abfe1190eadd0caf7be49 (diff) | |
parent | 74a9a2927774e21b62913eca9103be78515a4719 (diff) | |
download | rails-9204c0c5fa96acc2474eaadc8fa538c7f90d7219.tar.gz rails-9204c0c5fa96acc2474eaadc8fa538c7f90d7219.tar.bz2 rails-9204c0c5fa96acc2474eaadc8fa538c7f90d7219.zip |
Merge pull request #33102 from bogdanvlviv/refactor-actioncable-tests
Refactor actioncable's tests
Diffstat (limited to 'actioncable/test/subscription_adapter')
-rw-r--r-- | actioncable/test/subscription_adapter/redis_test.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/actioncable/test/subscription_adapter/redis_test.rb b/actioncable/test/subscription_adapter/redis_test.rb index 63823d6ef0..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 @@ -30,9 +29,7 @@ class RedisAdapterTest::AlternateConfiguration < RedisAdapterTest end end -class RedisAdapterTest::Connector < ActiveSupport::TestCase - include ActiveSupport::Testing::MethodCallAssertions - +class RedisAdapterTest::Connector < ActionCable::TestCase test "slices url, host, port, db, and password from config" do config = { url: 1, host: 2, port: 3, db: 4, password: 5 } |