aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/test/subscription_adapter/redis_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actioncable/test/subscription_adapter/redis_test.rb')
-rw-r--r--actioncable/test/subscription_adapter/redis_test.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/actioncable/test/subscription_adapter/redis_test.rb b/actioncable/test/subscription_adapter/redis_test.rb
index 8d52832c87..4f34dd86c9 100644
--- a/actioncable/test/subscription_adapter/redis_test.rb
+++ b/actioncable/test/subscription_adapter/redis_test.rb
@@ -5,6 +5,12 @@ class RedisAdapterTest < ActionCable::TestCase
include CommonSubscriptionAdapterTest
def cable_config
- { adapter: 'redis', url: 'redis://127.0.0.1:6379/12' }
+ { adapter: 'redis', driver: 'ruby', url: 'redis://127.0.0.1:6379/12' }
+ end
+end
+
+class RedisAdapterTest::Hiredis < RedisAdapterTest
+ def cable_config
+ super.merge(driver: 'hiredis')
end
end