Patch #31402 ยป issue-custom-field-generate-support-block.diff
test/object_helpers.rb | ||
---|---|---|
209 | 209 |
super do |field| |
210 | 210 |
field.is_for_all = true unless attributes.key?(:is_for_all) |
211 | 211 |
field.tracker_ids = Tracker.all.ids unless attributes.key?(:tracker_ids) || attributes.key?(:trackers) |
212 |
yield field if block_given? |
|
212 | 213 |
end |
213 | 214 |
end |
214 | 215 |