summaryrefslogtreecommitdiff
path: root/spec/factories/gpg_keys.rb
blob: b8aabf7422170e5d6228f9b2b0e9b5e0e178f13a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
require_relative '../support/gpg_helpers'

FactoryBot.define do
  factory :gpg_key do
    key GpgHelpers::User1.public_key
    user

    factory :gpg_key_with_subkeys do
      key GpgHelpers::User1.public_key_with_extra_signing_key
    end
  end
end