Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ssh_signature.rb « commit_signature « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 097415ba69cc1e5e0800f4c1cbdb7d730d43bdb9 (plain)
1
2
3
4
5
6
7
8
9
10
# 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