Welcome to mirror list, hosted at ThFree Co, Russian Federation.

background_migration_jobs.rb « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 048e4f4fcf2b69fc755226367c21adde142b7efd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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