Sha256: b4583997ca0530efd970ac9375f8f96e4f74abb79064dae5d6b2de67d18d1916
Contents?: true
Size: 372 Bytes
Versions: 77
Compression:
Stored size: 372 Bytes
Contents
FactoryBot.define do factory :topic do name { Faker::Lorem::sentence(word_count: 3) } description { Faker::Lorem.paragraph(sentence_count: 2) } slug { "mumuki/mumuki-sample-topic-#{SecureRandom.uuid}" } locale { :en } end factory :indexed_topic, parent: :topic do after(:build) do |topic| create(:chapter, topic: topic) end end end
Version data entries
77 entries across 77 versions & 2 rubygems