FactoryBot.define do factory :equipment, class: Ecom::Core::Equipment do name { FFaker::Name.name } description { FFaker::Name.name } minimum_acquisition_time { 10 } association :equipment_category end end