Make unit tests pass from the safe_puts changes

This commit is contained in:
Mitchell Hashimoto 2012-03-22 13:42:41 -07:00
parent 1749e4cf94
commit 1b0a6a0895
1 changed files with 1 additions and 1 deletions

View File

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