summaryrefslogtreecommitdiffstats
path: root/test/integration
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2022-09-01 05:25:04 +0000
committerGo MAEDA <maeda@farend.jp>2022-09-01 05:25:04 +0000
commit099a9adcb30054b7a58bcea61c5bd5d39c17f9ad (patch)
treef7b031aceda06866b72481dbe32b24b6a798a116 /test/integration
parent6755063664241d02043eb8c12a97c1377cd72e11 (diff)
downloadredmine-099a9adcb30054b7a58bcea61c5bd5d39c17f9ad.tar.gz
redmine-099a9adcb30054b7a58bcea61c5bd5d39c17f9ad.zip
Add description field to custom fields API (#37617).
Patch by Holger Just and Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@21793 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/api_test/custom_fields_test.rb1
1 files changed, 1 insertions, 0 deletions
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