Skip to content

Commit

Permalink
Merge pull request #278 from mattkirby/fix_folder_test
Browse files Browse the repository at this point in the history
(MAINT) Fix test reference to find_vm
  • Loading branch information
smcelmurry authored Jul 9, 2018
2 parents 6f4f3cc + 9ddd3c2 commit f27e2c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/unit/providers/vsphere_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
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
Expand Down

0 comments on commit f27e2c1

Please sign in to comment.