summaryrefslogtreecommitdiff
path: root/spec/factories/gpg_signature.rb
blob: 2ab4d190276adbf891d0cee03a3ea39ba36a4ffa (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