Sha256: 097d195cd9154b7e9fd67659c6cc7183ca6572914630d8d2b09db9c79f986e44

Contents?: true

Size: 243 Bytes

Versions: 1

Compression:

Stored size: 243 Bytes

Contents

FactoryGirl.define do
  factory :word, class: MemoryDictionary::Word do
    name 'ruby'
    translation 'is awesome'
    factory :word_within_dictionary, class: MemoryDictionary::Word do
      dictionary factory: :dictionary
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
memory_dictionary-1.0.0 spec/factories/word.rb