Skip to content

Commit

Permalink
Fix failing test that used Rack::Test::CookieJar#hash_for removed f…
Browse files Browse the repository at this point in the history
…orm rack-test
  • Loading branch information
tmandke committed Mar 28, 2023
1 parent d34eaa6 commit 0eb5495
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/action_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def test_getting_session_value_after_session_reset
get '/set_session_value'
assert_response :success
assert cookies['_session_id']
session_cookie = cookies.send(:hash_for)['_session_id']
session_cookie = cookies.get_cookie '_session_id'

get '/call_reset_session'
assert_response :success
Expand Down

0 comments on commit 0eb5495

Please sign in to comment.