summaryrefslogtreecommitdiff
path: root/spec/factories/gpg_signature.rb
blob: a0fc1740d7734e6b6c47ab5c839c4d6ef96d7a85 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

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