aboutsummaryrefslogblamecommitdiffstats
path: root/actioncable/test/subscription_adapter/redis_test.rb
blob: 2ba563665695b3709b95e2838e002f3d4efd5342 (plain) (tree)
1
2
3
4
5
6
7
8

                           




                                              
                                                                          




                                                  
                                  

     
require "test_helper"
require_relative "./common"

class RedisAdapterTest < ActionCable::TestCase
  include CommonSubscriptionAdapterTest

  def cable_config
    { 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