Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit e30016c29e4ec58352a15511afa12f0fbbd03a8c 1 parent f383a4a
@josh josh authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 actionpack/test/activerecord/active_record_store_test.rb
View
6 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
Please sign in to comment.
Something went wrong with that request. Please try again.