Sha256: 6b1301b9b1f4e9b89ce1588881ab0b250c0fb1956d1060d6e9b783c4f66ded44

Contents?: true

Size: 237 Bytes

Versions: 16

Compression:

Stored size: 237 Bytes

Contents

# frozen_string_literal: true

FactoryBot.define do
  factory :doodad do
    name { Faker::Lorem.words(number: [*1..5].sample).join(' ').titleize }
    description { Faker::Lorem.paragraphs(number: [*1..5].sample).join("\n") }
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
works_cited-0.1.16 spec/factories/doodads.rb
works_cited-0.1.15 spec/factories/doodads.rb
works_cited-0.1.14 spec/factories/doodads.rb
works_cited-0.1.13 spec/factories/doodads.rb
works_cited-0.1.11 spec/factories/doodads.rb
works_cited-0.1.10 spec/factories/doodads.rb
works_cited-0.1.9 spec/factories/doodads.rb
works_cited-0.1.8 spec/factories/doodads.rb
works_cited-0.1.7 spec/factories/doodads.rb
works_cited-0.1.6 spec/factories/doodads.rb
works_cited-0.1.5 spec/factories/doodads.rb
works_cited-0.1.4 spec/factories/doodads.rb
works_cited-0.1.3 spec/factories/doodads.rb
works_cited-0.1.2 spec/factories/doodads.rb
works_cited-0.1.1 spec/factories/doodads.rb
works_cited-0.1.0 spec/factories/doodads.rb