debian-mirror-gitlab/spec/factories/packages/rpm/metadata.rb

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

13 lines
357 B
Ruby
Raw Normal View History

2022-10-11 01:57:18 +05:30
# frozen_string_literal: true
FactoryBot.define do
factory :rpm_metadatum, class: 'Packages::Rpm::Metadatum' do
package { association(:rpm_package) }
release { "#{rand(10)}.#{rand(10)}" }
summary { FFaker::Lorem.sentences(2).join }
description { FFaker::Lorem.sentences(4).join }
arch { FFaker::Lorem.word }
epoch { 0 }
end
end