17 lines
563 B
Ruby
17 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
|