diff options
author | Igor Kasyanchuk <igorkasyanchuk@gmail.com> | 2018-01-31 13:36:01 -0800 |
---|---|---|
committer | Igor Kasyanchuk <igorkasyanchuk@gmail.com> | 2018-01-31 13:36:01 -0800 |
commit | 2587cadd4223f4abc1a94fdfb14cfd8c8d60e28b (patch) | |
tree | 34ca3563a8466f21a819b6675c74b366325e4f7b /actionpack/test/dispatch/request | |
parent | 148d0077c539ebca99a8cf776902805da3431f95 (diff) | |
download | rails-2587cadd4223f4abc1a94fdfb14cfd8c8d60e28b.tar.gz rails-2587cadd4223f4abc1a94fdfb14cfd8c8d60e28b.tar.bz2 rails-2587cadd4223f4abc1a94fdfb14cfd8c8d60e28b.zip |
Consistent behavior for session and cookies with to_h and to_hash method
Diffstat (limited to 'actionpack/test/dispatch/request')
-rw-r--r-- | actionpack/test/dispatch/request/session_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/dispatch/request/session_test.rb b/actionpack/test/dispatch/request/session_test.rb index 7b6ce31f29..bf5a74e694 100644 --- a/actionpack/test/dispatch/request/session_test.rb +++ b/actionpack/test/dispatch/request/session_test.rb @@ -22,6 +22,7 @@ module ActionDispatch s["foo"] = "bar" assert_equal "bar", s["foo"] assert_equal({ "foo" => "bar" }, s.to_hash) + assert_equal({ "foo" => "bar" }, s.to_h) end def test_create_merges_old |