diff options
Diffstat (limited to 'test/object_helpers.rb')
-rw-r--r-- | test/object_helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/object_helpers.rb b/test/object_helpers.rb index 3900bc45d..49596fec6 100644 --- a/test/object_helpers.rb +++ b/test/object_helpers.rb @@ -208,7 +208,7 @@ module ObjectHelpers def IssueCustomField.generate!(attributes={}) super do |field| field.is_for_all = true unless attributes.key?(:is_for_all) - field.tracker_ids = Tracker.all.ids unless attributes.key?(:tracker_ids) || attributes.key?(:trackers) + field.tracker_ids = Tracker.ids unless attributes.key?(:tracker_ids) || attributes.key?(:trackers) yield field if block_given? end end |