From 0fc77b3928546c09bd1fac40402289fd3730840b Mon Sep 17 00:00:00 2001 From: Rick Olson Date: Mon, 20 Aug 2007 13:48:13 +0000 Subject: correct the ActionCacheTest from [7346] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7348 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/test/controller/caching_test.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'actionpack/test/controller') diff --git a/actionpack/test/controller/caching_test.rb b/actionpack/test/controller/caching_test.rb index a9bc0471df..43babca5ab 100644 --- a/actionpack/test/controller/caching_test.rb +++ b/actionpack/test/controller/caching_test.rb @@ -281,6 +281,8 @@ class ActionCacheTest < Test::Unit::TestCase end 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' assert_equal 'application/xml', @response.content_type end -- cgit v1.2.3