aboutsummaryrefslogblamecommitdiffstats
path: root/actioncable/test/subscription_adapter/evented_redis_test.rb
blob: 6d20e6ed78238da1e4db89ad124d21e6b4d4d5e5 (plain) (tree)
1
2
3
4
5
6





                                                     










                                               



                                                                  
require 'test_helper'
require_relative './common'

class EventedRedisAdapterTest < ActionCable::TestCase
  include CommonSubscriptionAdapterTest

  def setup
    super

    # em-hiredis is warning-rich
    @previous_verbose, $VERBOSE = $VERBOSE, nil
  end

  def teardown
    $VERBOSE = @previous_verbose
  end

  def cable_config
    { adapter: 'evented_redis', url: 'redis://127.0.0.1:6379/12' }
  end
end