aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
diff options
context:
space:
mode:
authorTom Prats <tprats108@gmail.com>2016-01-30 19:30:32 -0500
committerTom Prats <tprats108@gmail.com>2016-01-30 19:30:32 -0500
commit45a75a3fcc96b22954caf69be2df4e302b134d7a (patch)
tree1f4ef44ceb84e9aebb264c85c976cae0db661d09 /actionpack/lib/action_controller
parent82dc8266dddc199789f3f1e9a9f21975e1c8ee87 (diff)
downloadrails-45a75a3fcc96b22954caf69be2df4e302b134d7a.tar.gz
rails-45a75a3fcc96b22954caf69be2df4e302b134d7a.tar.bz2
rails-45a75a3fcc96b22954caf69be2df4e302b134d7a.zip
Update Session to utilize indiffernt access
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r--actionpack/lib/action_controller/test_case.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/test_case.rb b/actionpack/lib/action_controller/test_case.rb
index b43bb9dc17..4702f22810 100644
--- a/actionpack/lib/action_controller/test_case.rb
+++ b/actionpack/lib/action_controller/test_case.rb
@@ -165,7 +165,7 @@ module ActionController
def initialize(session = {})
super(nil, nil)
@id = SecureRandom.hex(16)
- @data = stringify_keys(session)
+ @data = session.with_indifferent_access
@loaded = true
end