Sha256: f61ea7d80be78ef6afd8c2d9c63e71ae10882a5c6e7f40d688c6c0ff8b718434
Contents?: true
Size: 284 Bytes
Versions: 5
Compression:
Stored size: 284 Bytes
Contents
FactoryBot.define do factory :product, class: "Comee::Core::Product" do sequence(:code) { |n| "#{Faker::Alphanumeric.unique.alpha(number: 6)}-#{n}" } name { Faker::Name.name } description { Faker::Lorem.sentence } metadata { {} } product_type unit end end
Version data entries
5 entries across 5 versions & 1 rubygems