debian-mirror-gitlab/spec/factories/gpg_keys.rb

13 lines
250 B
Ruby
Raw Normal View History

2017-09-10 17:25:29 +05:30
require_relative '../support/gpg_helpers'
2018-03-17 18:26:18 +05:30
FactoryBot.define do
2017-09-10 17:25:29 +05:30
factory :gpg_key do
key GpgHelpers::User1.public_key
user
2018-03-17 18:26:18 +05:30
factory :gpg_key_with_subkeys do
key GpgHelpers::User1.public_key_with_extra_signing_key
end
2017-09-10 17:25:29 +05:30
end
end