summaryrefslogtreecommitdiff
path: root/spec/factories/gpg_keys.rb
blob: 9f3216431747e0e60026e4ab0a53f434317377da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

require_relative '../support/helpers/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