Sha256: 1d13f034ff67b755e3402a73c4dcfa3756be5e4869ba747c9df5d4879be703e8

Contents?: true

Size: 278 Bytes

Versions: 8

Compression:

Stored size: 278 Bytes

Contents

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ecom_core-1.2.20 spec/factories/ecom/core/equipment.rb
ecom_core-1.2.19 spec/factories/ecom/core/equipment.rb
ecom_core-1.2.18 spec/factories/ecom/core/equipment.rb
ecom_core-1.2.17 spec/factories/ecom/core/equipment.rb
ecom_core-1.2.16 spec/factories/ecom/core/equipment.rb
ecom_core-1.2.15 spec/factories/ecom/core/equipment.rb
ecom_core-1.2.14 spec/factories/ecom/core/equipment.rb
ecom_core-1.2.13 spec/factories/ecom/core/equipment.rb