Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make sure caching test is using a generatable url

  • Loading branch information...
commit 5bc47a93b7c700f246e9469880af82ad4844717b 1 parent 81c4213
Joshua Peek josh authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/test/controller/caching_test.rb
4 actionpack/test/controller/caching_test.rb
View
@@ -441,8 +441,8 @@ def test_xml_version_of_resource_is_treated_as_different_cache
def test_correct_content_type_is_returned_for_cache_hit
# run it twice to cache it the first time
- get :index, :id => 'content-type.xml'
- get :index, :id => 'content-type.xml'
+ get :index, :id => 'content-type', :format => 'xml'
+ get :index, :id => 'content-type', :format => 'xml'
assert_equal 'application/xml', @response.content_type
end
Please sign in to comment.
Something went wrong with that request. Please try again.