Sha256: 2aa7810e4e331999a91cc043279d4a7a1809e5907e5bb51db0d7c34a5d12215b

Contents?: true

Size: 346 Bytes

Versions: 1

Compression:

Stored size: 346 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'] }
    components { ['Component I', 'Component II', 'Component III'] }
    association :equipment_category
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ecom_core-1.2.12 spec/factories/ecom/core/equipment.rb