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

13 lines
258 B
Ruby
Raw Normal View History

2018-10-15 14:42:47 +05:30
require_relative '../support/helpers/gpg_helpers'
2017-09-10 17:25:29 +05:30
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