`vagrant box` uses new Environment

This commit is contained in:
Mitchell Hashimoto 2010-03-19 17:17:51 -07:00
parent 32a951cb6c
commit bafd15661d
2 changed files with 2 additions and 2 deletions

View File

@ -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"]

View File

@ -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