Fix tests for kernel/v2

This commit is contained in:
Mitchell Hashimoto 2014-02-05 21:24:34 -08:00
parent cac0fdb490
commit d18e80e1fd
1 changed files with 3 additions and 0 deletions

View File

@ -15,6 +15,9 @@ describe VagrantPlugins::Kernel_V2::VMConfig do
end end
before do before do
env = double("env")
env.stub(root_path: nil)
machine.stub(env: env)
machine.stub(provider_config: nil) machine.stub(provider_config: nil)
subject.box = "foo" subject.box = "foo"