FactoryBot.define do factory :equipment_location, class: 'Mks::Edm::EquipmentLocation' do code { FFaker::Name.name } name { FFaker::Name.name } association :location_type description { FFaker::Name.name } address { FFaker::Name.name } end end