debian-mirror-gitlab/spec/factories/bulk_import/failures.rb

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

15 lines
395 B
Ruby
Raw Normal View History

2021-02-22 17:27:13 +05:30
# frozen_string_literal: true
require 'securerandom'
FactoryBot.define do
factory :bulk_import_failure, class: 'BulkImports::Failure' do
association :entity, factory: :bulk_import_entity
pipeline_class { 'BulkImports::TestPipeline' }
exception_class { 'StandardError' }
exception_message { 'Standard Error Message' }
correlation_id_value { SecureRandom.uuid }
end
end