Namespace
Methods
Instance Public methods
test_new_session_object_is_merged_with_old()
Link
# File actionpack/test/dispatch/session/abstract_store_test.rb, line 33 def test_new_session_object_is_merged_with_old env = {} as = MemoryStore.new app as.call(env) assert @env session = Request::Session.find ActionDispatch::Request.new @env session['foo'] = 'bar' as.call(@env) session1 = Request::Session.find ActionDispatch::Request.new @env assert_not_equal session, session1 assert_equal session.to_hash, session1.to_hash end