mirror of
https://github.com/redmine/redmine.git
synced 2025-11-07 13:55:52 +01:00
REST API: custom fields definition (#11159).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12165 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -44,4 +44,11 @@ class RoutingCustomFieldsTest < ActionController::IntegrationTest
|
||||
{ :controller => 'custom_fields', :action => 'destroy', :id => '2' }
|
||||
)
|
||||
end
|
||||
|
||||
def test_custom_fields_api
|
||||
assert_routing(
|
||||
{ :method => 'get', :path => "/custom_fields.xml" },
|
||||
{ :controller => 'custom_fields', :action => 'index', :format => 'xml' }
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user