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

10 lines
264 B
Ruby
Raw Normal View History

2021-03-08 18:12:59 +05:30
# frozen_string_literal: true
FactoryBot.define do
factory :debian_project_architecture, class: 'Packages::Debian::ProjectArchitecture' do
distribution { association(:debian_project_distribution) }
sequence(:name) { |n| "project-arch-#{n}" }
end
end