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

11 lines
247 B
Ruby
Raw Normal View History

2020-04-08 14:13:33 +05:30
# frozen_string_literal: true
FactoryBot.define do
2021-04-29 21:17:54 +05:30
factory :ci_unit_test, class: 'Ci::UnitTest' do
2021-01-29 00:20:46 +05:30
project
2021-04-29 21:17:54 +05:30
suite_name { 'rspec' }
name { 'Math#add returns sum' }
2021-01-29 00:20:46 +05:30
key_hash { Digest::SHA256.hexdigest(SecureRandom.hex) }
2020-04-08 14:13:33 +05:30
end
end