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:
parent
adf8d0144e
commit
0d2b35dbb4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue