test: route: add attachment delete method test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8530 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
61f7d37a9d
commit
3dd97a87c6
|
@ -45,5 +45,9 @@ class RoutingAttachmentsTest < ActionController::IntegrationTest
|
|||
{ :controller => 'attachments', :action => 'download', :id => '1',
|
||||
:filename => 'filename.ext' }
|
||||
)
|
||||
assert_routing(
|
||||
{ :method => 'delete', :path => "/attachments/1" },
|
||||
{ :controller => 'attachments', :action => 'destroy', :id => '1' }
|
||||
)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue