diff options
Diffstat (limited to 'actionpack/test/controller/action_caching_test.rb')
-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 |