Sha256: 313a38d9b0030dfc9577350211fd1ea9a080c2f9ca867b9aa89580083f5ce055

Contents?: true

Size: 253 Bytes

Versions: 61

Compression:

Stored size: 253 Bytes

Contents

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

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
ecom_core-1.2.5 spec/factories/ecom/core/product_types.rb
ecom_core-1.2.4 spec/factories/ecom/core/product_types.rb
ecom_core-1.2.3 spec/factories/ecom/core/product_types.rb
ecom_core-1.2.2 spec/factories/ecom/core/product_types.rb
ecom_core-1.2.1 spec/factories/ecom/core/product_types.rb
ecom_core-1.2.0 spec/factories/ecom/core/product_types.rb
ecom_core-1.1.28 spec/factories/ecom/core/product_types.rb
ecom_core-1.1.27 spec/factories/ecom/core/product_types.rb
ecom_core-1.1.26 spec/factories/ecom/core/product_types.rb
ecom_core-1.1.25 spec/factories/ecom/core/product_types.rb
ecom_core-1.1.24 spec/factories/ecom/core/product_types.rb
ecom_core-1.1.23 spec/factories/ecom/core/product_types.rb
ecom_core-1.1.22 spec/factories/ecom/core/product_types.rb
ecom_core-1.1.21 spec/factories/ecom/core/product_types.rb
ecom_core-1.1.20 spec/factories/ecom/core/product_types.rb
ecom_core-1.1.19 spec/factories/ecom/core/product_types.rb
ecom_core-1.1.18 spec/factories/ecom/core/product_types.rb
ecom_core-1.1.17 spec/factories/ecom/core/product_types.rb
ecom_core-1.1.16 spec/factories/ecom/core/product_types.rb
ecom_core-1.1.15 spec/factories/ecom/core/product_types.rb