##// END OF EJS Templates
Additional assertion for documents routing tests....
Jean-Philippe Lang -
r7892:be3ff78a299b
parent child
Show More
@@ -54,6 +54,8 class RoutingTest < ActionController::IntegrationTest
54 should_route :post, "/projects/567/documents", :controller => 'documents', :action => 'create', :project_id => '567'
54 should_route :post, "/projects/567/documents", :controller => 'documents', :action => 'create', :project_id => '567'
55 should_route :put, "/documents/22", :controller => 'documents', :action => 'update', :id => '22'
55 should_route :put, "/documents/22", :controller => 'documents', :action => 'update', :id => '22'
56 should_route :delete, "/documents/22", :controller => 'documents', :action => 'destroy', :id => '22'
56 should_route :delete, "/documents/22", :controller => 'documents', :action => 'destroy', :id => '22'
57
58 should_route :post, "/documents/22/add_attachment", :controller => 'documents', :action => 'add_attachment', :id => '22'
57 end
59 end
58
60
59 context "groups" do
61 context "groups" do
General Comments 0
You need to be logged in to leave comments. Login now