diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-10-09 00:56:13 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-10-09 00:56:13 +0000 |
commit | f9650a23f060c0d8678b2bda45e502f0bca487cc (patch) | |
tree | b29c41791ec398f35298f59cc14d963f5e9e1af1 /actionpack/test/controller | |
parent | 211ffd3f792d2d0823365bdb49d29b9f7ed99ca0 (diff) | |
download | rails-f9650a23f060c0d8678b2bda45e502f0bca487cc.tar.gz rails-f9650a23f060c0d8678b2bda45e502f0bca487cc.tar.bz2 rails-f9650a23f060c0d8678b2bda45e502f0bca487cc.zip |
Fixed that caches_action breaks with file extensions (closes #6257) [Catfish]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5248 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r-- | actionpack/test/controller/action_caching_test.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/actionpack/test/controller/action_caching_test.rb b/actionpack/test/controller/action_caching_test.rb index 84b0cbd4a5..21c11ed417 100644 --- a/actionpack/test/controller/action_caching_test.rb +++ b/actionpack/test/controller/action_caching_test.rb @@ -121,6 +121,13 @@ class ActionCacheTest < Test::Unit::TestCase assert_equal 'example.org/index', @path_class.path_for(@mock_controller) end + def test_file_extensions + get :index, :id => 'kitten.jpg' + get :index, :id => 'kitten.jpg' + + assert_response :success + end + private def content_to_cache |