blob: 15d7024dbf1ec8badfcd31cc325d43a4d98bd804 (
plain)
1
2
3
4
5
6
7
8
9
10
|
# frozen_string_literal: true
FactoryBot.define do
factory :search_index, class: 'Search::Index' do
initialize_with { type.present? ? type.new : Search::Index.new }
sequence(:path) { |n| "index-path-#{n}" }
sequence(:bucket_number) { |n| n }
type { Search::NoteIndex }
end
end
|