1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #39593 from timcraft/fix-actioncable-postgresql-test

Use indifferent access for config hash in actioncable postgresql test
This commit is contained in:
Eugene Kenny 2020-06-10 15:36:03 +01:00 committed by GitHub
commit 3cd1b19ff2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@ require "test_helper"
module ChannelPrefixTest
def test_channel_prefix
server2 = ActionCable::Server::Base.new(config: ActionCable::Server::Configuration.new)
server2.config.cable = alt_cable_config
server2.config.cable = alt_cable_config.with_indifferent_access
server2.config.logger = Logger.new(StringIO.new).tap { |l| l.level = Logger::UNKNOWN }
adapter_klass = server2.config.pubsub_adapter