summaryrefslogtreecommitdiff
path: root/chef/spec/unit/knife/bootstrap_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'chef/spec/unit/knife/bootstrap_spec.rb')
-rw-r--r--chef/spec/unit/knife/bootstrap_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/chef/spec/unit/knife/bootstrap_spec.rb b/chef/spec/unit/knife/bootstrap_spec.rb
index ab6a1af330..3260e67dc1 100644
--- a/chef/spec/unit/knife/bootstrap_spec.rb
+++ b/chef/spec/unit/knife/bootstrap_spec.rb
@@ -22,6 +22,8 @@ require 'net/ssh'
describe Chef::Knife::Bootstrap do
before(:each) do
+ Chef::Log.logger = Logger.new(StringIO.new)
+
@knife = Chef::Knife::Bootstrap.new
@knife.config[:template_file] = File.expand_path(File.join(CHEF_SPEC_DATA, "bootstrap", "test.erb"))
end