Sha256: 29b49a2fa0713517398da034c5e7b3e21c4a10fca767a06262c956da6bd6ff74
Contents?: true
Size: 711 Bytes
Versions: 1
Compression:
Stored size: 711 Bytes
Contents
# frozen_string_literal: true require "test_helper" require_relative "common" require_relative "channel_prefix" class RedisAdapterTest < ActionCable::TestCase include CommonSubscriptionAdapterTest include ChannelPrefixTest def cable_config { adapter: "redis", driver: "ruby", url: "redis://:password@127.0.0.1:6379/12" } end end class RedisAdapterTest::Hiredis < RedisAdapterTest def cable_config super.merge(driver: "hiredis") end end class RedisAdapterTest::AlternateConfiguration < RedisAdapterTest def cable_config alt_cable_config = super.dup alt_cable_config.delete(:url) alt_cable_config.merge(host: "127.0.0.1", port: 6379, db: 12, password: "password") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-on-quails-0.1.0 | actioncable/test/subscription_adapter/redis_test.rb |