summaryrefslogtreecommitdiffstats
path: root/test/integration/routing/members_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-12-26 08:01:10 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-12-26 08:01:10 +0000
commit748410c8763b1e87c8012c112d32071441e4e4bf (patch)
tree68af2e473fa657144c9e20670d44fa99c586155b /test/integration/routing/members_test.rb
parentf581ea0aa675d8cf516c0eb086eb2bdb759206c0 (diff)
downloadredmine-748410c8763b1e87c8012c112d32071441e4e4bf.tar.gz
redmine-748410c8763b1e87c8012c112d32071441e4e4bf.zip
test: route: add members tests defined at r8162
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8376 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/routing/members_test.rb')
-rw-r--r--test/integration/routing/members_test.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/integration/routing/members_test.rb b/test/integration/routing/members_test.rb
index 7dc683134..169fc62a0 100644
--- a/test/integration/routing/members_test.rb
+++ b/test/integration/routing/members_test.rb
@@ -23,5 +23,17 @@ class RoutingMembersTest < ActionController::IntegrationTest
{ :method => 'post', :path => "/projects/5234/members/new" },
{ :controller => 'members', :action => 'new', :id => '5234' }
)
+ assert_routing(
+ { :method => 'post', :path => "/members/edit/5234" },
+ { :controller => 'members', :action => 'edit', :id => '5234' }
+ )
+ assert_routing(
+ { :method => 'post', :path => "/members/destroy/5234" },
+ { :controller => 'members', :action => 'destroy', :id => '5234' }
+ )
+ assert_routing(
+ { :method => 'post', :path => "/members/autocomplete_for_member/5234" },
+ { :controller => 'members', :action => 'autocomplete_for_member', :id => '5234' }
+ )
end
end