summaryrefslogtreecommitdiffstats
path: root/test/integration/routing/groups_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/routing/groups_test.rb')
-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' }
)