debian-mirror-gitlab/spec/factories/gpg_signature.rb
2018-10-15 14:42:47 +05:30

9 lines
221 B
Ruby

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