2021-09-04 01:27:46 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
FactoryBot.define do
|
|
|
|
factory :debian_project_distribution_key, class: 'Packages::Debian::ProjectDistributionKey' do
|
|
|
|
distribution { association(:debian_project_distribution) }
|
|
|
|
|
2021-10-27 15:23:28 +05:30
|
|
|
private_key { File.read(Rails.root.join('spec/fixtures/', 'private_key.asc')) }
|
2021-09-04 01:27:46 +05:30
|
|
|
passphrase { '12345' }
|
2021-10-27 15:23:28 +05:30
|
|
|
public_key { File.read(Rails.root.join('spec/fixtures/', 'public_key.asc')) }
|
2021-09-04 01:27:46 +05:30
|
|
|
fingerprint { '12345' }
|
|
|
|
|
|
|
|
factory :debian_group_distribution_key, class: 'Packages::Debian::GroupDistributionKey' do
|
|
|
|
distribution { association(:debian_group_distribution) }
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|