debian-mirror-gitlab/spec/factories/packages/build_infos.rb
2021-11-18 22:05:49 +05:30

11 lines
238 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :package_build_info, class: 'Packages::BuildInfo' do
package
trait :with_pipeline do
association :pipeline, factory: [:ci_pipeline, :with_job]
end
end
end