2019-07-25 01:11:48 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-03-29 05:47:54 -04:00
|
|
|
require_relative '../support/helpers/gpg_helpers'
|
2017-02-22 09:37:49 -05:00
|
|
|
|
2017-12-13 19:13:44 -05:00
|
|
|
FactoryBot.define do
|
2017-02-22 09:37:49 -05:00
|
|
|
factory :gpg_key do
|
2018-09-20 13:02:36 -04:00
|
|
|
key { GpgHelpers::User1.public_key }
|
2017-02-28 04:49:59 -05:00
|
|
|
user
|
2017-09-28 14:26:16 -04:00
|
|
|
|
|
|
|
factory :gpg_key_with_subkeys do
|
2018-09-20 13:02:36 -04:00
|
|
|
key { GpgHelpers::User1.public_key_with_extra_signing_key }
|
2017-09-28 14:26:16 -04:00
|
|
|
end
|
2020-12-03 13:10:10 -05:00
|
|
|
|
|
|
|
factory :another_gpg_key do
|
|
|
|
key { GpgHelpers::User1.public_key2 }
|
|
|
|
user
|
|
|
|
end
|
2017-02-22 09:37:49 -05:00
|
|
|
end
|
|
|
|
end
|