summaryrefslogtreecommitdiff
path: root/spec/factories/gpg_signature.rb
blob: b89e6ffc4b3ba71c8ad0d1668f68e6aef188565c (plain)
1
2
3
4
5
6
7
8
9
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