FactoryBot.define do factory :maintenance_status, class: Ecom::Core::MaintenanceStatus, parent: :lookup do type { 'Ecom::Core::MaintenanceStatus' } end end