提交 e769559a 编写于 作者: C Carlos Antonio da Silva

Merge pull request #6808 from arunagw/warning_removed_actionpack

Removed warnings.
......@@ -1526,10 +1526,10 @@ def test_expires_now
assert_equal "no-cache", @response.headers["Cache-Control"]
end
def test_expires_now
def test_expires_now_with_cache_control_headers
get :conditional_hello_with_cache_control_headers
assert_match /no-cache/, @response.headers["Cache-Control"]
assert_match /no-transform/, @response.headers["Cache-Control"]
assert_match(/no-cache/, @response.headers["Cache-Control"])
assert_match(/no-transform/, @response.headers["Cache-Control"])
end
def test_date_header_when_expires_in
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册