debian-mirror-gitlab/spec/factories/background_migration_jobs.rb
2020-08-09 17:44:08 +05:30

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