Patch by Holger Just and Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21793
e93f8b46-1217-0410-a6f0-
8f06a7374b81
api.custom_field do
api.id field.id
api.name field.name
+ api.description field.description
api.customized_type field.class.customized_class.name.underscore if field.class.customized_class
api.field_format field.field_format
api.regexp field.regexp
---
custom_fields_001:
name: Database
+ description: Select one of the databases
regexp: ""
is_for_all: true
is_filter: true
assert_select 'custom_fields' do
assert_select 'custom_field' do
assert_select 'name', :text => 'Database'
+ assert_select 'description', :text => 'Select one of the databases'
assert_select 'id', :text => '2'
assert_select 'customized_type', :text => 'issue'
assert_select 'possible_values[type=array]' do