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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
266 B
Ruby
Raw Normal View History

2021-03-11 19:13:27 +05:30
# frozen_string_literal: true
FactoryBot.define do
factory :debian_project_component, class: 'Packages::Debian::ProjectComponent' do
distribution { association(:debian_project_distribution) }
2023-04-23 21:23:45 +05:30
sequence(:name) { |n| "#{FFaker::Lorem.word}#{n}" }
2021-03-11 19:13:27 +05:30
end
end