Adds routes for group users.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7946 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2011-11-27 10:47:36 +00:00
parent 1ebe9640a6
commit f680e7f8ac
5 changed files with 15 additions and 8 deletions

View File

@@ -55,6 +55,11 @@ class RoutingTest < ActionController::IntegrationTest
should_route :post, "/documents/567/edit", :controller => 'documents', :action => 'edit', :id => '567'
should_route :post, "/documents/567/destroy", :controller => 'documents', :action => 'destroy', :id => '567'
end
context "groups" do
should_route :post, "/groups/567/users", :controller => 'groups', :action => 'add_users', :id => '567'
should_route :delete, "/groups/567/users/12", :controller => 'groups', :action => 'remove_user', :id => '567', :user_id => '12'
end
context "issues" do
# REST actions