1 2 3 4 5 6 7 8
FactoryBot.define do factory :gpg_key_subkey do gpg_key sequence(:keyid) { |n| "keyid-#{n}" } sequence(:fingerprint) { |n| "fingerprint-#{n}" } end end