Project

General

Profile

Feature #37617 » test-for-37617.patch

Go MAEDA, 2022-08-30 09:46

View differences:

test/fixtures/custom_fields.yml
1 1
--- 
2 2
custom_fields_001: 
3 3
  name: Database
4
  description: Select one of the databases
4 5
  regexp: ""
5 6
  is_for_all: true
6 7
  is_filter: true
test/integration/api_test/custom_fields_test.rb
30 30
    assert_select 'custom_fields' do
31 31
      assert_select 'custom_field' do
32 32
        assert_select 'name', :text => 'Database'
33
        assert_select 'description', :text => 'Select one of the databases'
33 34
        assert_select 'id', :text => '2'
34 35
        assert_select 'customized_type', :text => 'issue'
35 36
        assert_select 'possible_values[type=array]' do
(2-2/2)