FactoryBot.define do factory :equipment_component, class: 'Mks::Edm::EquipmentComponent' do serial_no { FFaker::Name.name } name { FFaker::Name.name } association :equipment_item end end