Permalink
Browse files

Make sure caching test is using a generatable url

  • Loading branch information...
1 parent 81c4213 commit 5bc47a93b7c700f246e9469880af82ad4844717b @josh josh committed Sep 19, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/test/controller/caching_test.rb
@@ -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

0 comments on commit 5bc47a9

Please sign in to comment.