gitlab-org--gitlab-foss/spec/factories/background_migration_jobs.rb

13 lines
289 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :background_migration_job, class: '::Gitlab::Database::BackgroundMigrationJob' do
class_name { 'TestJob' }
status { :pending }
arguments { [] }
trait :succeeded do
status { :succeeded }
end
end
end