Welcome to mirror list, hosted at ThFree Co, Russian Federation.

build_info.rb « packages « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: dc6208d72a9a9615a309d155ed17a109a40bd2f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
# 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