debian-mirror-gitlab/spec/factories/gitlab/database/reindexing/queued_action.rb
2021-12-11 22:18:48 +05:30

10 lines
319 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :reindexing_queued_action, class: 'Gitlab::Database::Reindexing::QueuedAction' do
association :index, factory: :postgres_index
state { Gitlab::Database::Reindexing::QueuedAction.states[:queued] }
index_identifier { index.identifier }
end
end