debian-mirror-gitlab/spec/factories/commit_signature/ssh_signature.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
249 B
Ruby
Raw Normal View History

2022-07-23 23:45:48 +05:30
# 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