mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
(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:
parent
6f4f3cc4e7
commit
9ddd3c21b7
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue