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

FactoryBot.define do
  factory :gpg_signature do
    commit_sha { Digest::SHA1.hexdigest(SecureRandom.hex) }
    project
    gpg_key
    gpg_key_primary_keyid { gpg_key.keyid }
    verification_status :verified
  end
end