Skip to content

Commit

Permalink
Enable refresh_new_target test
Browse files Browse the repository at this point in the history
Now that ManageIQ/manageiq#14247 is merged we
can enable the refresh_new_target test for the vmware refresher
  • Loading branch information
agrare committed Jun 19, 2017
1 parent a114185 commit ea65d0a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ea65d0a

Please sign in to comment.