gitlab-org--gitlab-foss/spec/factories/gpg_key_subkeys.rb
2017-10-05 08:25:28 -05:00

10 lines
213 B
Ruby

require_relative '../support/gpg_helpers'
FactoryGirl.define do
factory :gpg_key_subkey do
gpg_key
sequence(:keyid) { |n| "keyid-#{n}" }
sequence(:fingerprint) { |n| "fingerprint-#{n}" }
end
end