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.2.31 spec/factories/ecom/core/equipment.rb
ecom_core-1.2.30 spec/factories/ecom/core/equipment.rb
ecom_core-1.2.29 spec/factories/ecom/core/equipment.rb
ecom_core-1.2.28 spec/factories/ecom/core/equipment.rb
ecom_core-1.2.27 spec/factories/ecom/core/equipment.rb
ecom_core-1.2.26 spec/factories/ecom/core/equipment.rb
ecom_core-1.2.25 spec/factories/ecom/core/equipment.rb
ecom_core-1.2.24 spec/factories/ecom/core/equipment.rb
ecom_core-1.2.23 spec/factories/ecom/core/equipment.rb
ecom_core-1.2.22 spec/factories/ecom/core/equipment.rb
ecom_core-1.2.21 spec/factories/ecom/core/equipment.rb