gitlab-org--gitlab-foss/spec/factories/gpg_keys.rb

13 lines
251 B
Ruby
Raw Normal View History

2017-02-22 09:37:49 -05:00
require_relative '../support/gpg_helpers'
FactoryGirl.define do
factory :gpg_key do
2017-02-23 06:02:36 -05:00
key GpgHelpers::User1.public_key
2017-02-28 04:49:59 -05:00
user
factory :gpg_key_with_subkeys do
key GpgHelpers::User1.public_key_with_extra_signing_key
end
2017-02-22 09:37:49 -05:00
end
end