gitlab-org--gitlab-foss/spec/factories/packages/debian/publication.rb

10 lines
289 B
Ruby
Raw Normal View History

# frozen_string_literal: true
FactoryBot.define do
factory :debian_publication, class: 'Packages::Debian::Publication' do
package { association(:debian_package, published_in: nil) }
distribution { association(:debian_project_distribution, project: package.project) }
end
end