debian-mirror-gitlab/spec/factories/analytics/cycle_analytics/aggregations.rb
2023-03-17 16:20:25 +05:30

17 lines
323 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :cycle_analytics_aggregation, class: 'Analytics::CycleAnalytics::Aggregation' do
namespace { association(:group) }
enabled { true }
trait :disabled do
enabled { false }
end
trait :enabled do
enabled { true }
end
end
end