diff options
Diffstat (limited to 'test/integration')
-rw-r--r-- | test/integration/routing/attachments_test.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/integration/routing/attachments_test.rb b/test/integration/routing/attachments_test.rb index 84ccbbb67..ba4bb2c36 100644 --- a/test/integration/routing/attachments_test.rb +++ b/test/integration/routing/attachments_test.rb @@ -46,6 +46,10 @@ class RoutingAttachmentsTest < ActionController::IntegrationTest :filename => 'filename.ext' } ) assert_routing( + { :method => 'get', :path => "/attachments/thumbnail/1" }, + { :controller => 'attachments', :action => 'thumbnail', :id => '1' } + ) + assert_routing( { :method => 'delete', :path => "/attachments/1" }, { :controller => 'attachments', :action => 'destroy', :id => '1' } ) |