mirror of
https://github.com/redmine/redmine.git
synced 2026-03-06 20:41:27 +01:00
Update users routing test to include assertions for bulk actions (delete, lock and unlock) (#40913).
git-svn-id: https://svn.redmine.org/redmine/trunk@22931 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -30,5 +30,9 @@ class RoutingUsersTest < Redmine::RoutingTest
|
||||
should_route 'GET /users/44/edit' => 'users#edit', :id => '44'
|
||||
should_route 'PUT /users/44' => 'users#update', :id => '44'
|
||||
should_route 'DELETE /users/44' => 'users#destroy', :id => '44'
|
||||
|
||||
should_route 'DELETE /users/bulk_destroy' => 'users#bulk_destroy'
|
||||
should_route 'POST /users/bulk_lock' => 'users#bulk_lock'
|
||||
should_route 'POST /users/bulk_unlock' => 'users#bulk_unlock'
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user