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

Merge pull request #6808 from arunagw/warning_removed_actionpack

Removed warnings.
This commit is contained in:
Carlos Antonio da Silva 2012-06-21 05:22:32 -07:00
commit e769559a93

View file

@ -1526,10 +1526,10 @@ class ExpiresInRenderTest < ActionController::TestCase
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