debian-mirror-gitlab/spec/factories/commit_signature/ssh_signature.rb
2022-07-29 14:03:07 +02:00

10 lines
249 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :ssh_signature, class: 'CommitSignatures::SshSignature' do
commit_sha { Digest::SHA1.hexdigest(SecureRandom.hex) }
project
key
verification_status { :verified }
end
end