Skip to content

Commit

Permalink
correct the ActionCacheTest from [7346]
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7348 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
technoweenie committed Aug 20, 2007
1 parent 1a459e8 commit 0fc77b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions actionpack/test/controller/caching_test.rb
Expand Up @@ -281,6 +281,8 @@ def test_xml_version_of_resource_is_treated_as_different_cache
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
Expand Down

0 comments on commit 0fc77b3

Please sign in to comment.