debian-mirror-gitlab/spec/factories/gpg_keys.rb
2018-03-17 18:26:18 +05:30

12 lines
250 B
Ruby

require_relative '../support/gpg_helpers'
FactoryBot.define do
factory :gpg_key do
key GpgHelpers::User1.public_key
user
factory :gpg_key_with_subkeys do
key GpgHelpers::User1.public_key_with_extra_signing_key
end
end
end