debian-mirror-gitlab/spec/factories/packages/debian/publication.rb
2021-03-11 19:13:27 +05:30

9 lines
289 B
Ruby

# 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