Sha256: de0163ef9a0642e71f76b11473ddd83c26c61d2fe2a3ef9f3dd4bf94c12381ba

Contents?: true

Size: 551 Bytes

Versions: 8

Compression:

Stored size: 551 Bytes

Contents

# frozen_string_literal: false

FactoryBot.define do
  factory :dictionary_creator_service, class: 'LittleWeasel::Services::DictionaryCreatorService' do
    dictionary_key { create(:dictionary_key) }
    dictionary_cache { {} }
    dictionary_metadata { {} }
    word_filters {}
    word_preprocessors {}

    skip_create
    initialize_with do
      new(dictionary_key: dictionary_key, dictionary_cache: dictionary_cache, dictionary_metadata: dictionary_metadata, word_filters: word_filters, word_preprocessors: word_preprocessors)
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
LittleWeasel-5.0.13 spec/factories/dictionary_creator_service.rb
LittleWeasel-5.0.12 spec/factories/dictionary_creator_service.rb
LittleWeasel-5.0.11 spec/factories/dictionary_creator_service.rb
LittleWeasel-5.0.10 spec/factories/dictionary_creator_service.rb
LittleWeasel-5.0.9 spec/factories/dictionary_creator_service.rb
LittleWeasel-5.0.8 spec/factories/dictionary_creator_service.rb
LittleWeasel-5.0.7 spec/factories/dictionary_creator_service.rb
LittleWeasel-5.0.6 spec/factories/dictionary_creator_service.rb