Permalink
Browse files

Fix reset_session with ActiveRecord store [#2200 state:resolved]

  • Loading branch information...
1 parent f383a4a commit e30016c29e4ec58352a15511afa12f0fbbd03a8c @josh josh committed May 17, 2009
Showing with 3 additions and 3 deletions.
  1. +3 −3 actionpack/test/activerecord/active_record_store_test.rb
@@ -27,9 +27,9 @@ def get_session_id
end
def call_reset_session
- session[:bar]
+ session[:foo]
reset_session
- session[:bar] = "baz"
+ session[:foo] = "baz"
head :ok
end
@@ -86,7 +86,7 @@ def test_setting_session_value_after_session_reset
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

0 comments on commit e30016c

Please sign in to comment.