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

15 lines
297 B
Ruby
Raw Normal View History

# frozen_string_literal: true
require_relative '../support/helpers/gpg_helpers'
2017-02-22 09:37:49 -05:00
FactoryBot.define do
2017-02-22 09:37:49 -05:00
factory :gpg_key do
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