issue-custom-field-generate-support-block.diff

Kouhei Sutou, 2019-05-20 08:27

Download (446 Bytes)

View differences:

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