Permalink
Browse files

Test actual content of permanent cookie

  • Loading branch information...
1 parent bbe634e commit ca07bc0de7282cf95376a507a2a5e1dd3ac66481 @brainopia brainopia committed Aug 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/test/dispatch/cookies_test.rb
@@ -188,7 +188,7 @@ def test_setting_the_same_value_to_cookie
def test_setting_the_same_value_to_permanent_cookie
request.cookies[:user_name] = 'Jamie'
get :set_permanent_cookie
- assert response.cookies, 'user_name' => 'Jamie'
+ assert_equal response.cookies, 'user_name' => 'Jamie'
end
def test_setting_with_escapable_characters

0 comments on commit ca07bc0

Please sign in to comment.