提交 5a0372f7 编写于 作者: A Aaron Patterson

Merge pull request #7315 from brainopia/fix_assertion

Fix mistake in assertion about content of permanent cookie
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册