mirror of
https://github.com/redmine/redmine.git
synced 2025-11-02 19:36:00 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user