From d97f1670bd0437d9b08aa4dd8ea8d2127d3b72e5 Mon Sep 17 00:00:00 2001 From: bogdanvlviv Date: Fri, 8 Jun 2018 23:19:39 +0300 Subject: 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. --- actioncable/test/subscription_adapter/redis_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actioncable/test/subscription_adapter/redis_test.rb') 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 -- cgit v1.2.3