Sha256: 6f55161a338e897039cc6417e104eb3c8cd690dce26d29f40faba6c7df20cf09

Contents?: true

Size: 442 Bytes

Versions: 3

Compression:

Stored size: 442 Bytes

Contents

FactoryBot.define do
  factory :takeoff_calculator, class: Ecom::Core::TakeoffCalculator do
    name { Ecom::Core::TakeoffCalculator::TAKEOFF_CALCULATOR_NAMES.sample }
    is_custom_calculator { false }
    input_parameters do
      [
        {
          name: 'number_of_bar',
          label: 'Number Of Bar',
          input_type: 'number',
          default_value: {
            value: '1'
          }
        }
      ]
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ecom_core-1.2.34 spec/factories/ecom/core/takeoff_calculators.rb
ecom_core-1.2.33 spec/factories/ecom/core/takeoff_calculators.rb
ecom_core-1.2.32 spec/factories/ecom/core/takeoff_calculators.rb