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

9 lines
263 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :debian_project_component, class: 'Packages::Debian::ProjectComponent' do
distribution { association(:debian_project_distribution) }
sequence(:name) { |n| "project-component-#{n}" }
end
end