gitlab-org--gitlab-foss/spec/factories/gpg_signature.rb

12 lines
273 B
Ruby
Raw Normal View History

require_relative '../support/gpg_helpers'
FactoryGirl.define do
factory :gpg_signature do
commit_sha { Digest::SHA1.hexdigest(SecureRandom.hex) }
project
gpg_key
gpg_key_primary_keyid { gpg_key.primary_keyid }
2017-08-30 07:27:40 -04:00
verification_status :verified
end
end