diff --git a/spec/models/manageiq/providers/vmware/infra_manager/refresher_spec.rb b/spec/models/manageiq/providers/vmware/infra_manager/refresher_spec.rb index e40788f35..1ea7998fd 100644 --- a/spec/models/manageiq/providers/vmware/infra_manager/refresher_spec.rb +++ b/spec/models/manageiq/providers/vmware/infra_manager/refresher_spec.rb @@ -188,13 +188,13 @@ expect(vm.host).to eq(vm2.host) end - xit 'handles refresh of new target without deleting other inventory' do + it 'handles refresh of new target without deleting other inventory' do EmsRefresh.refresh(@ems) @ems.reload # This is an existing folder so we can confirm the counts for # other inventory don't change - hash, klass, find = @ems.class::EventParser.obj_update_to_hash(:objType => 'Folder', :mor => 'group-v12223') + hash, klass, find = @ems.class::EventParser.parse_new_target(:objType => 'Folder', :mor => 'group-v12223') EmsRefresh.refresh_new_target(@ems.id, hash, klass, find) assert_table_counts