Sha256: a0d292b89b6341a56f66699d2599a6cd2ea659226fe5b8b5b2be1404468b27be

Contents?: true

Size: 454 Bytes

Versions: 8

Compression:

Stored size: 454 Bytes

Contents

# frozen_string_literal: false

require 'pry'

FactoryBot.define do
  factory :dictionary_metadata_service, class: 'LittleWeasel::Services::DictionaryMetadataService' do
    dictionary_key { create(:dictionary_key) }
    dictionary_cache { {} }
    dictionary_metadata { {} }

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

Version data entries

8 entries across 8 versions & 1 rubygems

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