debian-mirror-gitlab/spec/factories/gpg_signature.rb
2018-03-17 18:26:18 +05:30

11 lines
264 B
Ruby

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