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

package_file_build_infos.rb « packages « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f83c32f4a1a98ebd584dfb336c3a6dc4d82cad0b (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

FactoryBot.define do
  factory :package_file_build_info, class: 'Packages::PackageFileBuildInfo' do
    package_file

    trait :with_pipeline do
      association :pipeline, factory: [:ci_pipeline, :with_job]
    end
  end
end