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

11 lines
213 B
Ruby
Raw Normal View History

require_relative '../support/gpg_helpers'
FactoryGirl.define do
factory :gpg_key_subkey do
gpg_key
2017-10-01 22:50:38 -04:00
sequence(:keyid) { |n| "keyid-#{n}" }
sequence(:fingerprint) { |n| "fingerprint-#{n}" }
end
end