From bafd15661d0ee1f9c63720b6e3bea2a8b6d1351c Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 19 Mar 2010 17:17:51 -0700 Subject: [PATCH] `vagrant box` uses new Environment --- lib/vagrant/commands.rb | 2 +- test/vagrant/commands_test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/vagrant/commands.rb b/lib/vagrant/commands.rb index 4fa042aa3..692a57016 100644 --- a/lib/vagrant/commands.rb +++ b/lib/vagrant/commands.rb @@ -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"] diff --git a/test/vagrant/commands_test.rb b/test/vagrant/commands_test.rb index 1c14a2955..c706459c1 100644 --- a/test/vagrant/commands_test.rb +++ b/test/vagrant/commands_test.rb @@ -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