debian-mirror-gitlab/spec/factories/analytics/cycle_analytics/aggregations.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
295 B
Ruby
Raw Normal View History

2022-05-07 20:08:51 +05:30
# 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