debian-mirror-gitlab/spec/factories/gitlab/database/reindexing/queued_action.rb

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

11 lines
319 B
Ruby
Raw Normal View History

2021-12-11 22:18:48 +05:30
# 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