debian-mirror-gitlab/spec/factories/ci/test_case.rb

9 lines
184 B
Ruby
Raw Normal View History

2020-04-08 14:13:33 +05:30
# frozen_string_literal: true
FactoryBot.define do
2021-01-29 00:20:46 +05:30
factory :ci_test_case, class: 'Ci::TestCase' do
project
key_hash { Digest::SHA256.hexdigest(SecureRandom.hex) }
2020-04-08 14:13:33 +05:30
end
end