summaryrefslogtreecommitdiff
path: root/spec/support/platform_helpers.rb
diff options
context:
space:
mode:
authorThom May <thom@chef.io>2018-02-14 12:22:41 +0000
committerThom May <thom@chef.io>2018-03-19 21:36:23 +0000
commit94222a8a0a1cda16d35c8f08c731a3f902449391 (patch)
tree712169a375dbf411ebfa4f205727840db279d404 /spec/support/platform_helpers.rb
parent7e11a4192df63ecc0166a947109878cc0070434a (diff)
downloadchef-tm/inject_log.tar.gz
Add the ability to inject log objectstm/inject_log
meaning that we can have inheritable metadata Signed-off-by: Thom May <thom@chef.io>
Diffstat (limited to 'spec/support/platform_helpers.rb')
-rw-r--r--spec/support/platform_helpers.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/support/platform_helpers.rb b/spec/support/platform_helpers.rb
index 1718632186..8569523e05 100644
--- a/spec/support/platform_helpers.rb
+++ b/spec/support/platform_helpers.rb
@@ -246,6 +246,9 @@ end
class HttpHelper
extend Ohai::Mixin::HttpHelper
+ def self.logger
+ Chef::Log
+ end
end
def gce?