Sha256: a378f1d2d66a6da6233dc07f5fe8bea5146f9d165dffe1ca0b3602942456c0b8
Contents?: true
Size: 305 Bytes
Versions: 4
Compression:
Stored size: 305 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 ancestry { nil } end end
Version data entries
4 entries across 4 versions & 1 rubygems