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

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

10 lines
224 B
Ruby
Raw Normal View History

2021-01-29 00:20:46 +05:30
# frozen_string_literal: true
FactoryBot.define do
2021-04-29 21:17:54 +05:30
factory :ci_unit_test_failure, class: 'Ci::UnitTestFailure' do
2021-01-29 00:20:46 +05:30
build factory: :ci_build
2021-04-29 21:17:54 +05:30
unit_test factory: :ci_unit_test
2021-01-29 00:20:46 +05:30
failed_at { Time.current }
end
end