Sha256: d5a36cb333ac52ad4dec3e4f2c841f0d50fe04c723306e422e58ebd19ba77261

Contents?: true

Size: 369 Bytes

Versions: 7

Compression:

Stored size: 369 Bytes

Contents

# frozen_string_literal: false

FactoryBot.define do
  factory :dictionary_file_loader_service, class: LittleWeasel::Services::DictionaryFileLoaderService do
    dictionary_key { create(:dictionary_key) }
    dictionary_cache { {} }

    skip_create
    initialize_with do
      new(dictionary_key: dictionary_key, dictionary_cache: dictionary_cache)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
LittleWeasel-5.0.5 spec/factories/dictionary_file_loader_service.rb
LittleWeasel-5.0.4 spec/factories/dictionary_file_loader_service.rb
LittleWeasel-5.0.3 spec/factories/dictionary_file_loader_service.rb
LittleWeasel-5.0.2 spec/factories/dictionary_file_loader_service.rb
LittleWeasel-5.0.1 spec/factories/dictionary_file_loader_service.rb
LittleWeasel-5.0.0 spec/factories/dictionary_file_loader_service.rb
LittleWeasel-4.0.0 spec/factories/dictionary_file_loader_service.rb