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

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

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