Sha256: f3c06e6bd2de3032135550407e8723c7452615dde413ff7f563fe89835220e02

Contents?: true

Size: 252 Bytes

Versions: 22

Compression:

Stored size: 252 Bytes

Contents

FactoryBot.define do
  factory :product, class: "Comee::Core::Product" do
    code { Faker::Alphanumeric.alpha(number: 6) }
    name { Faker::Name.name }
    description { Faker::Lorem.sentence }
    metadata { {} }
    product_type
    unit
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
comee_core-0.1.31 spec/factories/comee/core/products.rb
comee_core-0.1.30 spec/factories/comee/core/products.rb
comee_core-0.1.29 spec/factories/comee/core/products.rb
comee_core-0.1.28 spec/factories/comee/core/products.rb
comee_core-0.1.27 spec/factories/comee/core/products.rb
comee_core-0.1.26 spec/factories/comee/core/products.rb
comee_core-0.1.25 spec/factories/comee/core/products.rb
comee_core-0.1.24 spec/factories/comee/core/products.rb
comee_core-0.1.23 spec/factories/comee/core/products.rb
comee_core-0.1.22 spec/factories/comee/core/products.rb
comee_core-0.1.21 spec/factories/comee/core/products.rb
comee_core-0.1.20 spec/factories/comee/core/products.rb
comee_core-0.1.19 spec/factories/comee/core/products.rb
comee_core-0.1.18 spec/factories/comee/core/products.rb
comee_core-0.1.17 spec/factories/comee/core/products.rb
comee_core-0.1.16 spec/factories/comee/core/products.rb
comee_core-0.1.15 spec/factories/comee/core/products.rb
comee_core-0.1.14 spec/factories/comee/core/products.rb
comee_core-0.1.13 spec/factories/comee/core/products.rb
comee_core-0.1.12 spec/factories/comee/core/products.rb