summaryrefslogtreecommitdiffstats
path: root/test/integration/routing/members_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/routing/members_test.rb')
-rw-r--r--test/integration/routing/members_test.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/integration/routing/members_test.rb b/test/integration/routing/members_test.rb
index 20de5662b..91a98d401 100644
--- a/test/integration/routing/members_test.rb
+++ b/test/integration/routing/members_test.rb
@@ -36,6 +36,10 @@ class RoutingMembersTest < ActionDispatch::IntegrationTest
{ :controller => 'members', :action => 'create', :project_id => '5234', :format => 'xml' }
)
assert_routing(
+ { :method => 'get', :path => "/projects/5234/memberships/new" },
+ { :controller => 'members', :action => 'new', :project_id => '5234' }
+ )
+ assert_routing(
{ :method => 'put', :path => "/memberships/5234" },
{ :controller => 'members', :action => 'update', :id => '5234' }
)