diff --git a/spec/models/transformation_mapping_spec.rb b/spec/models/transformation_mapping_spec.rb index a14f5012e00e..743cc2f35a8a 100644 --- a/spec/models/transformation_mapping_spec.rb +++ b/spec/models/transformation_mapping_spec.rb @@ -116,6 +116,7 @@ it 'returns valid vms' do result = mapping.search_vms_and_validate(['name' => vm.name]) expect(result['valid'].first.reason).to eq(TransformationMapping::VmMigrationValidator::VM_VALID) + expect(result['valid'].first.ems_cluster_id).to eq(vm.ems_cluster_id) end it 'returns conflict vms' do