diff --git a/lib/vagrant/action/vm/check_box.rb b/lib/vagrant/action/vm/check_box.rb index c7e3befb6..cf86cbae8 100644 --- a/lib/vagrant/action/vm/check_box.rb +++ b/lib/vagrant/action/vm/check_box.rb @@ -16,7 +16,6 @@ module Vagrant env.ui.info I18n.t("vagrant.actions.vm.check_box.not_found", :name => box_name) Vagrant::Box.add(env.env, box_name, box_url) - env.env.load_box! end @app.call(env) diff --git a/test/vagrant/action/vm/check_box_test.rb b/test/vagrant/action/vm/check_box_test.rb index c8dea75d4..9e372d861 100644 --- a/test/vagrant/action/vm/check_box_test.rb +++ b/test/vagrant/action/vm/check_box_test.rb @@ -47,7 +47,6 @@ class CheckBoxVMActionTest < Test::Unit::TestCase seq = sequence("seq") env.env.boxes.expects(:find).returns(nil) Vagrant::Box.expects(:add).with(env.env, env["config"].vm.box, env["config"].vm.box_url).in_sequence(seq) - env.env.expects(:load_box!).in_sequence(seq) app.expects(:call).with(env).once.in_sequence(seq) assert_nothing_raised {