]> source.dussan.org Git - redmine.git/commitdiff
Additional assertion for documents routing tests.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 30 Nov 2011 23:15:52 +0000 (23:15 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 30 Nov 2011 23:15:52 +0000 (23:15 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8012 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/integration/routing_test.rb

index 14f10bd725205dd6166ce8f99e65f76d8317ceb0..635c02f30da7a8fb1599d325f7fce9ee24a941ec 100644 (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