From 4104f6c21f6d3b7c4a4f6c818047f2123cffef48 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 6 Mar 2014 09:04:23 -0800 Subject: [PATCH] Fix Hyper-V tests --- test/unit/plugins/providers/hyperv/provider_test.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/unit/plugins/providers/hyperv/provider_test.rb b/test/unit/plugins/providers/hyperv/provider_test.rb index cbe77dcb0..b0f1aeb16 100644 --- a/test/unit/plugins/providers/hyperv/provider_test.rb +++ b/test/unit/plugins/providers/hyperv/provider_test.rb @@ -12,6 +12,7 @@ describe VagrantPlugins::HyperV::Provider do before do stub_const("Vagrant::Util::Platform", platform) stub_const("Vagrant::Util::PowerShell", powershell) + machine.stub(id: "foo") platform.stub(windows?: true) platform.stub(windows_admin?: true) powershell.stub(available?: true)