debian-mirror-gitlab/spec/factories/packages/debian/group_component.rb

10 lines
255 B
Ruby
Raw Normal View History

2021-03-11 19:13:27 +05:30
# frozen_string_literal: true
FactoryBot.define do
factory :debian_group_component, class: 'Packages::Debian::GroupComponent' do
distribution { association(:debian_group_distribution) }
sequence(:name) { |n| "group-component-#{n}" }
end
end