Permalink
Browse files

Merge pull request #6808 from arunagw/warning_removed_actionpack

Removed warnings.
  • Loading branch information...
2 parents 26a4e5e + 6f6111e commit e769559a93d8cb379ff08ce36c72535671340fb2 @carlosantoniodasilva carlosantoniodasilva committed Jun 21, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 actionpack/test/controller/render_test.rb
@@ -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

0 comments on commit e769559

Please sign in to comment.