aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/caching_test.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-09-19 11:56:11 -0500
committerJoshua Peek <josh@joshpeek.com>2009-09-19 11:56:11 -0500
commit5bc47a93b7c700f246e9469880af82ad4844717b (patch)
tree30530bc85ca9c4cb262e3e5d2a1b9e67769db3fa /actionpack/test/controller/caching_test.rb
parent81c421386c3989e96f1fd3b0370b75155eeda2e1 (diff)
downloadrails-5bc47a93b7c700f246e9469880af82ad4844717b.tar.gz
rails-5bc47a93b7c700f246e9469880af82ad4844717b.tar.bz2
rails-5bc47a93b7c700f246e9469880af82ad4844717b.zip
Make sure caching test is using a generatable url
Diffstat (limited to 'actionpack/test/controller/caching_test.rb')
-rw-r--r--actionpack/test/controller/caching_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/caching_test.rb b/actionpack/test/controller/caching_test.rb
index 82c790bc19..25e035cb49 100644
--- a/actionpack/test/controller/caching_test.rb
+++ b/actionpack/test/controller/caching_test.rb
@@ -441,8 +441,8 @@ class ActionCacheTest < ActionController::TestCase
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