mirror of
https://github.com/redmine/redmine.git
synced 2025-11-04 20:35:57 +01:00
Adds a simple API for listing roles (#9725).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8799 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -23,6 +23,10 @@ class RoutingRolesTest < ActionController::IntegrationTest
|
||||
{ :method => 'get', :path => "/roles" },
|
||||
{ :controller => 'roles', :action => 'index' }
|
||||
)
|
||||
assert_routing(
|
||||
{ :method => 'get', :path => "/roles.xml" },
|
||||
{ :controller => 'roles', :action => 'index', :format => 'xml' }
|
||||
)
|
||||
assert_routing(
|
||||
{ :method => 'get', :path => "/roles/new" },
|
||||
{ :controller => 'roles', :action => 'new' }
|
||||
|
||||
Reference in New Issue
Block a user