debian-mirror-gitlab/spec/factories/analytics/devops_adoption/segment_selections.rb
2021-01-30 21:13:34 +05:30

18 lines
364 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :devops_adoption_segment_selection, class: 'Analytics::DevopsAdoption::SegmentSelection' do
association :segment, factory: :devops_adoption_segment
project
trait :project do
group { nil }
project
end
trait :group do
project { nil }
group
end
end
end