Sha256: 0e19e77d1ff0ce4e2c612fd6b1f8a3f5dc086290e2bc2c299419420aebd936dc

Contents?: true

Size: 254 Bytes

Versions: 5

Compression:

Stored size: 254 Bytes

Contents

FactoryBot.define do
  factory :product_type, class: 'Ecom::Model::ProductType' do
    name { FFaker::Name.name }
    association :work_product_template
    dimension { [{ name: 'length', label: 'length' }, { name: 'width', label: 'width' }] }
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ecom_model-2.0.4 spec/factories/ecom/model/product_types.rb
ecom_model-2.0.3 spec/factories/ecom/model/product_types.rb
ecom_model-2.0.2 spec/factories/ecom/model/product_types.rb
ecom_model-2.0.1 spec/factories/ecom/model/product_types.rb
ecom_model-2.0.0 spec/factories/ecom/model/product_types.rb