Test actual content of permanent cookie

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

@ -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