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:
commit
e769559a93
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue