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:
Jean-Philippe Lang
2013-09-29 10:08:30 +00:00
parent 4a36e09d49
commit 886284b33f
5 changed files with 106 additions and 4 deletions

View File

@@ -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