diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-05-17 14:42:36 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-05-17 14:42:36 -0500 |
commit | 01d7acd11d631d980497870aad1af42a0c66115c (patch) | |
tree | 202cabbb2f650ad97685227da13023f660d79d4e /actionpack/test/activerecord | |
parent | b33c0d98329b97f8f540ba455d419d5046e6bb39 (diff) | |
download | rails-01d7acd11d631d980497870aad1af42a0c66115c.tar.gz rails-01d7acd11d631d980497870aad1af42a0c66115c.tar.bz2 rails-01d7acd11d631d980497870aad1af42a0c66115c.zip |
Fix reset_session with ActiveRecord store [#2200 state:resolved]
Diffstat (limited to 'actionpack/test/activerecord')
-rw-r--r-- | actionpack/test/activerecord/active_record_store_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/test/activerecord/active_record_store_test.rb b/actionpack/test/activerecord/active_record_store_test.rb index 663cd259c8..47f8496181 100644 --- a/actionpack/test/activerecord/active_record_store_test.rb +++ b/actionpack/test/activerecord/active_record_store_test.rb @@ -28,9 +28,9 @@ class ActiveRecordStoreTest < ActionController::IntegrationTest end def call_reset_session - session[:bar] + session[:foo] reset_session - session[:bar] = "baz" + session[:foo] = "baz" head :ok end @@ -91,7 +91,7 @@ class ActiveRecordStoreTest < ActionController::IntegrationTest get '/get_session_value' assert_response :success - assert_equal 'foo: nil', response.body + assert_equal 'foo: "baz"', response.body get '/get_session_id' assert_response :success |