From 1b0a6a0895cf67c4b624c0edcc942100c7064f70 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 22 Mar 2012 13:42:41 -0700 Subject: [PATCH] Make unit tests pass from the safe_puts changes --- test/unit/vagrant/command/base_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/vagrant/command/base_test.rb b/test/unit/vagrant/command/base_test.rb index 7fdb95176..fb356478a 100644 --- a/test/unit/vagrant/command/base_test.rb +++ b/test/unit/vagrant/command/base_test.rb @@ -33,7 +33,7 @@ describe Vagrant::Command::Base do ["-h", "--help"].each do |help_string| it "returns nil and prints the help if '#{help_string}' is given" do instance = klass.new([help_string], nil) - instance.should_receive(:puts) + instance.should_receive(:safe_puts) instance.parse_options(OptionParser.new).should be_nil end end