1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Test actual content of permanent cookie

This commit is contained in:
brainopia 2012-08-10 09:48:26 +04:00
parent 581a927710
commit e157903310

View file

@ -190,7 +190,7 @@ class CookiesTest < ActionController::TestCase
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