From d18e80e1fd3622f88ac3972776f533cd6e6ae3ef Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 5 Feb 2014 21:24:34 -0800 Subject: [PATCH] Fix tests for kernel/v2 --- test/unit/plugins/kernel_v2/config/vm_test.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/unit/plugins/kernel_v2/config/vm_test.rb b/test/unit/plugins/kernel_v2/config/vm_test.rb index 77afcff5d..f12d94f22 100644 --- a/test/unit/plugins/kernel_v2/config/vm_test.rb +++ b/test/unit/plugins/kernel_v2/config/vm_test.rb @@ -15,6 +15,9 @@ describe VagrantPlugins::Kernel_V2::VMConfig do end before do + env = double("env") + env.stub(root_path: nil) + machine.stub(env: env) machine.stub(provider_config: nil) subject.box = "foo"