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
This commit is contained in:
Toshi MARUYAMA 2011-12-26 11:48:06 +00:00
parent adf8d0144e
commit 0d2b35dbb4
1 changed files with 8 additions and 0 deletions

View File

@ -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