(MAINT) Fix test reference to find_vm

This commit updates a test reference to find_vm. This method has been renamed find_vm_folder, so this commit updates usage to reflect the new title and reduced arguments required. Without this change tests fail on master.
This commit is contained in:
kirby@puppetlabs.com 2018-07-09 14:57:07 -07:00
parent 6f4f3cc4e7
commit 9ddd3c21b7

View file

@ -174,7 +174,7 @@ EOT
folder_object.childEntity << mock_vm folder_object.childEntity << mock_vm
end end
folder_object.childEntity << folder_object2 folder_object.childEntity << folder_object2
expect(subject).to receive(:find_folder).with(pool_config['folder'],connection,datacenter_name).and_return(folder_object) expect(subject).to receive(:find_vm_folder).with(poolname,connection).and_return(folder_object)
end end
it 'should return the vms without the folder' do it 'should return the vms without the folder' do