debian-mirror-gitlab/spec/factories/packages/debian/distribution_key.rb
2021-09-04 02:52:04 +05:30

16 lines
563 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :debian_project_distribution_key, class: 'Packages::Debian::ProjectDistributionKey' do
distribution { association(:debian_project_distribution) }
private_key { '-----BEGIN PGP PRIVATE KEY BLOCK-----' }
passphrase { '12345' }
public_key { '-----BEGIN PGP PUBLIC KEY BLOCK-----' }
fingerprint { '12345' }
factory :debian_group_distribution_key, class: 'Packages::Debian::GroupDistributionKey' do
distribution { association(:debian_group_distribution) }
end
end
end