diff options
Diffstat (limited to 'spec/factories/analytics/cycle_analytics/aggregations.rb')
-rw-r--r-- | spec/factories/analytics/cycle_analytics/aggregations.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/spec/factories/analytics/cycle_analytics/aggregations.rb b/spec/factories/analytics/cycle_analytics/aggregations.rb new file mode 100644 index 00000000000..78e82f166d0 --- /dev/null +++ b/spec/factories/analytics/cycle_analytics/aggregations.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +FactoryBot.define do + factory :cycle_analytics_aggregation, class: 'Analytics::CycleAnalytics::Aggregation' do + group + + enabled { true } + + trait :disabled do + enabled { false } + end + + trait :enabled do + enabled { true } + end + end +end |