Sha256: 8bd1dbdf4b3c6f7987147871bbc638a5668d59ef54468ca7ff34cea5b6c0a022

Contents?: true

Size: 300 Bytes

Versions: 31

Compression:

Stored size: 300 Bytes

Contents

FactoryBot.define do
  factory :equipment, class: Ecom::Core::Equipment do
    sequence :name do |n|
      "EQName#{n}"
    end
    description { FFaker::Name.name }
    minimum_acquisition_time { 10 }
    brands { ['Brand I', 'Brand II', 'Brand III'] }
    association :equipment_category
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

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