Sha256: e064ab1148955c92a6de0503e9beeb7df2e48b17781d6ae0d8a58a275a8cf604

Contents?: true

Size: 276 Bytes

Versions: 7

Compression:

Stored size: 276 Bytes

Contents

# frozen_string_literal: true

FactoryBot.define do
  factory :ingredient do
    name { Faker::Lorem.words(number: [*1..3].sample).join(' ').titleize }
    description { Faker::Lorem.paragraph }
    aisle { 'Produce' }
    store { 'WholeEats' }
    cost { '$1.99' }
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cookbook-0.1.6 spec/factories/ingredients.rb
cookbook-0.1.5 spec/factories/ingredients.rb
cookbook-0.1.4 spec/factories/ingredients.rb
cookbook-0.1.3 spec/factories/ingredients.rb
cookbook-0.1.2 spec/factories/ingredients.rb
cookbook-0.1.1 spec/factories/ingredients.rb
cookbook-0.1.0 spec/factories/ingredients.rb