Additional assertion for documents routing tests.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8012 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2011-11-30 23:15:52 +00:00
parent 96bccd4666
commit be3ff78a29

View File

@ -54,6 +54,8 @@ class RoutingTest < ActionController::IntegrationTest
should_route :post, "/projects/567/documents", :controller => 'documents', :action => 'create', :project_id => '567'
should_route :put, "/documents/22", :controller => 'documents', :action => 'update', :id => '22'
should_route :delete, "/documents/22", :controller => 'documents', :action => 'destroy', :id => '22'
should_route :post, "/documents/22/add_attachment", :controller => 'documents', :action => 'add_attachment', :id => '22'
end
context "groups" do