##// END OF EJS Templates
test: route: add attachment delete method test...
Toshi MARUYAMA -
r8410:3dd97a87c670
parent child
Show More
@@ -45,5 +45,9 class RoutingAttachmentsTest < ActionController::IntegrationTest
45 { :controller => 'attachments', :action => 'download', :id => '1',
45 { :controller => 'attachments', :action => 'download', :id => '1',
46 :filename => 'filename.ext' }
46 :filename => 'filename.ext' }
47 )
47 )
48 assert_routing(
49 { :method => 'delete', :path => "/attachments/1" },
50 { :controller => 'attachments', :action => 'destroy', :id => '1' }
51 )
48 end
52 end
49 end
53 end
General Comments 0
You need to be logged in to leave comments. Login now