mirror of
https://github.com/redmine/redmine.git
synced 2025-10-31 18:36:07 +01:00
Isolates all API routing tests to a specific test case.
git-svn-id: http://svn.redmine.org/redmine/trunk@13604 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -23,14 +23,6 @@ class RoutingRolesTest < ActionDispatch::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/2.xml" },
|
||||
{ :controller => 'roles', :action => 'show', :id => '2', :format => 'xml' }
|
||||
)
|
||||
assert_routing(
|
||||
{ :method => 'get', :path => "/roles/new" },
|
||||
{ :controller => 'roles', :action => 'new' }
|
||||
|
||||
Reference in New Issue
Block a user