diff options
author | John Keiser <jkeiser@opscode.com> | 2014-05-01 20:39:21 -0700 |
---|---|---|
committer | John Keiser <jkeiser@opscode.com> | 2014-05-02 09:43:59 -0700 |
commit | eecd7bc3e46bc1fae2ff66c090bd6428641e73c9 (patch) | |
tree | b5c47f995de778932e142af45be39d3d51749eaa /spec/support | |
parent | 71424d4556f07bb630b59fdb3ed5ee3100873657 (diff) | |
download | chef-eecd7bc3e46bc1fae2ff66c090bd6428641e73c9.tar.gz |
Make indentable print() function more intelligible
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/shared/unit/api_error_inspector.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/shared/unit/api_error_inspector.rb b/spec/support/shared/unit/api_error_inspector.rb index b59fbce2c7..7577cb6c12 100644 --- a/spec/support/shared/unit/api_error_inspector.rb +++ b/spec/support/shared/unit/api_error_inspector.rb @@ -37,8 +37,8 @@ shared_examples_for "an api error inspector" do :client_key => "/etc/chef/client.pem" } @description = Chef::Formatters::ErrorDescription.new("Error registering the node:") - @outputter = Chef::Formatters::Outputter.new(StringIO.new, STDERR) - #@outputter = Chef::Formatters::Outputter.new(STDOUT, STDERR) + @outputter = Chef::Formatters::IndentableOutputStream.new(StringIO.new, STDERR) + #@outputter = Chef::Formatters::IndentableOutputStream.new(STDOUT, STDERR) end |