From 9ddd3c21b75d8ed2ed3d9557bcaeb5aef80e030e Mon Sep 17 00:00:00 2001 From: "kirby@puppetlabs.com" Date: Mon, 9 Jul 2018 14:57:07 -0700 Subject: [PATCH] (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. --- spec/unit/providers/vsphere_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/unit/providers/vsphere_spec.rb b/spec/unit/providers/vsphere_spec.rb index 07611b7..12d32f8 100644 --- a/spec/unit/providers/vsphere_spec.rb +++ b/spec/unit/providers/vsphere_spec.rb @@ -174,7 +174,7 @@ EOT folder_object.childEntity << mock_vm end 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 it 'should return the vms without the folder' do