FactoryBot.define do factory :equipment_location, class: Ecom::Core::EquipmentLocation do sequence :name do |n| "ELName#{n}" end description { FFaker::Name.name } address { FFaker::Name.name } association :location_type end end