debian-mirror-gitlab/spec/factories/ci/test_case.rb
2021-01-30 21:13:34 +05:30

8 lines
184 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :ci_test_case, class: 'Ci::TestCase' do
project
key_hash { Digest::SHA256.hexdigest(SecureRandom.hex) }
end
end