diff --git a/test/fixtures/custom_fields.yml b/test/fixtures/custom_fields.yml index 98dccdfcb..0ca34ab9f 100644 --- a/test/fixtures/custom_fields.yml +++ b/test/fixtures/custom_fields.yml @@ -1,6 +1,7 @@ --- custom_fields_001: name: Database + description: Select one of the databases regexp: "" is_for_all: true is_filter: true diff --git a/test/integration/api_test/custom_fields_test.rb b/test/integration/api_test/custom_fields_test.rb index 4db397b1a..30a5c6f7a 100644 --- a/test/integration/api_test/custom_fields_test.rb +++ b/test/integration/api_test/custom_fields_test.rb @@ -30,6 +30,7 @@ class Redmine::ApiTest::CustomFieldsTest < Redmine::ApiTest::Base 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