aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/test/test_helper.rb
diff options
context:
space:
mode:
authorJon Moss <me@jonathanmoss.me>2016-02-12 21:13:37 -0500
committerJon Moss <me@jonathanmoss.me>2016-03-02 09:01:43 -0500
commit45635098ac827ee5b243ac01b6267843cd89200a (patch)
tree6363c74dac57bd35542e1630904d1dc230e204fa /actioncable/test/test_helper.rb
parentfc1b32f8d1d26e41fa79d7a38c852acae24c77a0 (diff)
downloadrails-45635098ac827ee5b243ac01b6267843cd89200a.tar.gz
rails-45635098ac827ee5b243ac01b6267843cd89200a.tar.bz2
rails-45635098ac827ee5b243ac01b6267843cd89200a.zip
Accept JSON with no backslashes/escaping
Fixes #22675 Allow channel identifiers and also data with no backslahes/escaping to be accepted by the subscription storer.
Diffstat (limited to 'actioncable/test/test_helper.rb')
-rw-r--r--actioncable/test/test_helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actioncable/test/test_helper.rb b/actioncable/test/test_helper.rb
index 8b157c9b46..797e7786d1 100644
--- a/actioncable/test/test_helper.rb
+++ b/actioncable/test/test_helper.rb
@@ -6,6 +6,7 @@ require 'puma'
require 'mocha/setup'
require 'rack/mock'
+require 'active_support/core_ext/hash/indifferent_access'
# Require all the stubs and models
Dir[File.dirname(__FILE__) + '/stubs/*.rb'].each {|file| require file }