aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/test/subscription_adapter/redis_test.rb
diff options
context:
space:
mode:
authorbogdanvlviv <bogdanvlviv@gmail.com>2018-06-08 23:19:39 +0300
committerbogdanvlviv <bogdanvlviv@gmail.com>2018-06-08 23:23:06 +0300
commitd97f1670bd0437d9b08aa4dd8ea8d2127d3b72e5 (patch)
tree760dec39782e8f00fa21c61593a1c72fcb3bc366 /actioncable/test/subscription_adapter/redis_test.rb
parent6cd5cc375a5c78d08463254460b324a17d078586 (diff)
downloadrails-d97f1670bd0437d9b08aa4dd8ea8d2127d3b72e5.tar.gz
rails-d97f1670bd0437d9b08aa4dd8ea8d2127d3b72e5.tar.bz2
rails-d97f1670bd0437d9b08aa4dd8ea8d2127d3b72e5.zip
Inherit all actioncable's test classes from `ActionCable::TestCase`
We have defined `ActionCable::TestCase` in `actioncable/test/test_helper.rb` that we can use in order to prevent code duplication and build common interface for actioncable's test.
Diffstat (limited to 'actioncable/test/subscription_adapter/redis_test.rb')
-rw-r--r--actioncable/test/subscription_adapter/redis_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actioncable/test/subscription_adapter/redis_test.rb b/actioncable/test/subscription_adapter/redis_test.rb
index 63823d6ef0..523c205dca 100644
--- a/actioncable/test/subscription_adapter/redis_test.rb
+++ b/actioncable/test/subscription_adapter/redis_test.rb
@@ -30,7 +30,7 @@ class RedisAdapterTest::AlternateConfiguration < RedisAdapterTest
end
end
-class RedisAdapterTest::Connector < ActiveSupport::TestCase
+class RedisAdapterTest::Connector < ActionCable::TestCase
include ActiveSupport::Testing::MethodCallAssertions
test "slices url, host, port, db, and password from config" do