Feature #37617 » test-for-37617.patch
| test/fixtures/custom_fields.yml | ||
|---|---|---|
|
---
|
||
|
custom_fields_001:
|
||
|
name: Database
|
||
|
description: Select one of the databases
|
||
|
regexp: ""
|
||
|
is_for_all: true
|
||
|
is_filter: true
|
||
| test/integration/api_test/custom_fields_test.rb | ||
|---|---|---|
|
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
|
||
- « Previous
- 1
- 2
- Next »