Skip to content
Browse files

Merge pull request #7315 from brainopia/fix_assertion

Fix mistake in assertion about content of permanent cookie
  • Loading branch information...
2 parents 581a927 + e157903 commit 5a0372f7dbfb092f84146985ed5b545fb45a5009 @tenderlove tenderlove committed Aug 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/test/dispatch/cookies_test.rb
View
2 actionpack/test/dispatch/cookies_test.rb
@@ -190,7 +190,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 5a0372f

Please sign in to comment.
Something went wrong with that request. Please try again.