diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-12-26 11:48:06 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-12-26 11:48:06 +0000 |
commit | 0d2b35dbb41714b4bad89aae9fd7c978d04dc45c (patch) | |
tree | 518baf11768faea3ce1bad74e255080bae769f97 /test | |
parent | adf8d0144e03bd7a9866c8128aa071ba601aba46 (diff) | |
download | redmine-0d2b35dbb41714b4bad89aae9fd7c978d04dc45c.tar.gz redmine-0d2b35dbb41714b4bad89aae9fd7c978d04dc45c.zip |
test: route: add groups tests defined at r8162
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8380 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/integration/routing/groups_test.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/integration/routing/groups_test.rb b/test/integration/routing/groups_test.rb index 16e8289f1..644b2e769 100644 --- a/test/integration/routing/groups_test.rb +++ b/test/integration/routing/groups_test.rb @@ -28,5 +28,13 @@ class RoutingGroupsTest < ActionController::IntegrationTest { :controller => 'groups', :action => 'remove_user', :id => '567', :user_id => '12' } ) + assert_routing( + { :method => 'post', :path => "/groups/destroy_membership/567" }, + { :controller => 'groups', :action => 'destroy_membership', :id => '567' } + ) + assert_routing( + { :method => 'post', :path => "/groups/edit_membership/567" }, + { :controller => 'groups', :action => 'edit_membership', :id => '567' } + ) end end |