debian-mirror-gitlab/spec/factories/analytics/devops_adoption/segment_selections.rb

19 lines
364 B
Ruby
Raw Normal View History

2021-01-29 00:20:46 +05:30
# 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