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
323 B
Ruby
Raw Permalink 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
2023-03-17 16:20:25 +05:30
namespace { association(:group) }
2022-05-07 20:08:51 +05:30
enabled { true }
trait :disabled do
enabled { false }
end
trait :enabled do
enabled { true }
end
end
end