Sha256: 822692ff23dcea9872bd19a95399d9950f8726f2dc4d8b79312e2da797211e17

Contents?: true

Size: 898 Bytes

Versions: 8

Compression:

Stored size: 898 Bytes

Contents

# frozen_string_literal: false

FactoryBot.define do
  factory :dictionary, class: 'LittleWeasel::Dictionary' do
    dictionary_key { create(:dictionary_key) }
    dictionary_cache { {} }
    dictionary_metadata { {} }
    word_filters {}
    dictionary_words do
      %w[apple
         better
         cat
         dog
         everyone
         fat
         game
         help
         italic
         jasmine
         kelp
         love
         man
         nope
         octopus
         popeye
         queue
         ruby
         stop
         top
         ultimate
         very
         was
         xylophone
         yes
         zebra]
    end

    skip_create
    initialize_with do
      new dictionary_key: dictionary_key, dictionary_cache: dictionary_cache, dictionary_metadata: dictionary_metadata, dictionary_words: dictionary_words, word_filters: word_filters
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

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