diff --git a/test/unit/vagrant/environment_test.rb b/test/unit/vagrant/environment_test.rb index 218e20e4a..5c7606f76 100644 --- a/test/unit/vagrant/environment_test.rb +++ b/test/unit/vagrant/environment_test.rb @@ -99,6 +99,9 @@ describe Vagrant::Environment do env.homedir.join("setup_version").open("w") do |f| f.write("1.1") end + + allow_any_instance_of(Vagrant::UI::Silent). + to receive(:ask) end it "replaces the setup version with the new version" do