mirror of
https://github.com/redmine/redmine.git
synced 2025-11-01 19:05:51 +01:00
Adds a single controller for users and groups memberships and support for adding multiple projects at once (#11702).
git-svn-id: http://svn.redmine.org/redmine/trunk@13498 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -79,20 +79,5 @@ class RoutingUsersTest < ActionDispatch::IntegrationTest
|
||||
{ :controller => 'users', :action => 'destroy', :id => '44',
|
||||
:format => 'xml' }
|
||||
)
|
||||
assert_routing(
|
||||
{ :method => 'post', :path => "/users/123/memberships" },
|
||||
{ :controller => 'users', :action => 'edit_membership',
|
||||
:id => '123' }
|
||||
)
|
||||
assert_routing(
|
||||
{ :method => 'put', :path => "/users/123/memberships/55" },
|
||||
{ :controller => 'users', :action => 'edit_membership',
|
||||
:id => '123', :membership_id => '55' }
|
||||
)
|
||||
assert_routing(
|
||||
{ :method => 'delete', :path => "/users/123/memberships/55" },
|
||||
{ :controller => 'users', :action => 'destroy_membership',
|
||||
:id => '123', :membership_id => '55' }
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user