Sha256: e7490eebf71847da4e21acc18aeaf7f3f136445f6ad2652f2106a937eff24c6e

Contents?: true

Size: 273 Bytes

Versions: 20

Compression:

Stored size: 273 Bytes

Contents

FactoryBot.define do
  factory :dimension_element, class: Ecom::Core::DimensionElement do
    association :work_product
    association :measurement_unit
    amount { 5 }
    dimension_element_name { Ecom::Core::DimensionElement::DIMENSION_ELEMENT_NAMES.sample }
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
ecom_core-1.3.14 spec/factories/ecom/core/dimension_elements.rb
ecom_core-1.3.13 spec/factories/ecom/core/dimension_elements.rb
ecom_core-1.3.12 spec/factories/ecom/core/dimension_elements.rb
ecom_core-1.3.11 spec/factories/ecom/core/dimension_elements.rb
ecom_core-1.3.10 spec/factories/ecom/core/dimension_elements.rb
ecom_core-1.3.9 spec/factories/ecom/core/dimension_elements.rb
ecom_core-1.3.8 spec/factories/ecom/core/dimension_elements.rb
ecom_core-1.3.7 spec/factories/ecom/core/dimension_elements.rb
ecom_core-1.3.6 spec/factories/ecom/core/dimension_elements.rb
ecom_core-1.3.5 spec/factories/ecom/core/dimension_elements.rb
ecom_core-1.3.4 spec/factories/ecom/core/dimension_elements.rb
ecom_core-1.3.3 spec/factories/ecom/core/dimension_elements.rb
ecom_core-1.3.2 spec/factories/ecom/core/dimension_elements.rb
ecom_core-1.3.1 spec/factories/ecom/core/dimension_elements.rb
ecom_core-1.3.0 spec/factories/ecom/core/dimension_elements.rb
ecom_core-1.2.36 spec/factories/ecom/core/dimension_elements.rb
ecom_core-1.2.35 spec/factories/ecom/core/dimension_elements.rb
ecom_core-1.2.34 spec/factories/dimension_elements.rb
ecom_core-1.2.33 spec/factories/dimension_elements.rb
ecom_core-1.2.32 spec/factories/dimension_elements.rb