From 886284b33f1a670be32ff5fd2f93e76089c4d813 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 29 Sep 2013 10:08:30 +0000 Subject: REST API: custom fields definition (#11159). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12165 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/integration/routing/custom_fields_test.rb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/integration/routing') diff --git a/test/integration/routing/custom_fields_test.rb b/test/integration/routing/custom_fields_test.rb index 748c31fec..4b1a707de 100644 --- a/test/integration/routing/custom_fields_test.rb +++ b/test/integration/routing/custom_fields_test.rb @@ -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 -- cgit v1.2.3