Moved new group user to its own action GroupsController#new_users.

git-svn-id: http://svn.redmine.org/redmine/trunk@13602 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2014-11-16 08:53:39 +00:00
parent 67835aa74d
commit 1508cd7b8b
11 changed files with 55 additions and 22 deletions

View File

@@ -78,6 +78,10 @@ class RoutingGroupsTest < ActionDispatch::IntegrationTest
end
def test_groups
assert_routing(
{ :method => 'get', :path => "/groups/567/users/new" },
{ :controller => 'groups', :action => 'new_users', :id => '567' }
)
assert_routing(
{ :method => 'post', :path => "/groups/567/users" },
{ :controller => 'groups', :action => 'add_users', :id => '567' }