`vagrant box` uses new Environment
This commit is contained in:
parent
32a951cb6c
commit
bafd15661d
|
@ -169,7 +169,7 @@ msg
|
|||
# which action to take and calls the respective action method
|
||||
# (see {box_add} and {box_remove})
|
||||
def box(argv)
|
||||
Env.load!
|
||||
Environment.load!
|
||||
|
||||
sub_commands = ["list", "add", "remove"]
|
||||
|
||||
|
|
|
@ -255,7 +255,7 @@ class CommandsTest < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
should "load the environment" do
|
||||
Vagrant::Env.expects(:load!).once
|
||||
Vagrant::Environment.expects(:load!).once
|
||||
Vagrant::Commands.box(["add"])
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue