Sha256: 104f81b296cbfa500758ddbb5c8f369b38041d355dec7a3befc631dc5e29cce5

Contents?: true

Size: 273 Bytes

Versions: 31

Compression:

Stored size: 273 Bytes

Contents

FactoryBot.define do
  factory :product_type, class: Ecom::Core::ProductType do
    sequence :name do |n|
      "PTname#{n}"
    end
    association :work_product_template
    dimension { [{ name: 'length', label: 'length' }, { name: 'width', label: 'width' }] }
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
ecom_core-1.2.31 spec/factories/ecom/core/product_types.rb
ecom_core-1.2.30 spec/factories/ecom/core/product_types.rb
ecom_core-1.2.29 spec/factories/ecom/core/product_types.rb
ecom_core-1.2.28 spec/factories/ecom/core/product_types.rb
ecom_core-1.2.27 spec/factories/ecom/core/product_types.rb
ecom_core-1.2.26 spec/factories/ecom/core/product_types.rb
ecom_core-1.2.25 spec/factories/ecom/core/product_types.rb
ecom_core-1.2.24 spec/factories/ecom/core/product_types.rb
ecom_core-1.2.23 spec/factories/ecom/core/product_types.rb
ecom_core-1.2.22 spec/factories/ecom/core/product_types.rb
ecom_core-1.2.21 spec/factories/ecom/core/product_types.rb