summaryrefslogtreecommitdiffstats
path: root/test/integration/routing
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-11-16 08:53:39 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-11-16 08:53:39 +0000
commit1508cd7b8bf9dbc8ef22b6febd1047455c3c72cd (patch)
tree88daaa947aab2dceb7d6c64223b445f3bc7450bb /test/integration/routing
parent67835aa74d0412d538bee97d975564a8fec5b2c4 (diff)
downloadredmine-1508cd7b8bf9dbc8ef22b6febd1047455c3c72cd.tar.gz
redmine-1508cd7b8bf9dbc8ef22b6febd1047455c3c72cd.zip
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
Diffstat (limited to 'test/integration/routing')
-rw-r--r--test/integration/routing/groups_test.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/integration/routing/groups_test.rb b/test/integration/routing/groups_test.rb
index ea6e73703..4171a0e25 100644
--- a/test/integration/routing/groups_test.rb
+++ b/test/integration/routing/groups_test.rb
@@ -79,6 +79,10 @@ class RoutingGroupsTest < ActionDispatch::IntegrationTest
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' }
)