git-svn-id: http://svn.redmine.org/redmine/branches/2.5-stable@13160
e93f8b46-1217-0410-a6f0-
8f06a7374b81
end
if field.is_a?(IssueCustomField)
- api.trackers do
+ api.array :trackers do
field.trackers.each do |tracker|
api.tracker :id => tracker.id, :name => tracker.name
end
end
- api.roles do
+ api.array :roles do
field.roles.each do |role|
api.role :id => role.id, :name => role.name
end
assert_select 'possible_values[type=array]' do
assert_select 'possible_value>value', :text => 'PostgreSQL'
end
+ assert_select 'trackers[type=array]'
+ assert_select 'roles[type=array]'
end
end
end