summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2021-05-01 23:28:18 -0700
committerTim Smith <tsmith@chef.io>2021-05-01 23:28:18 -0700
commitb475aeb1698b85311230759f1e24728975488ca4 (patch)
treef54db41b98837f156142e5973a75345dc26a2bf6 /spec
parent4f19535d24dd5dfd4a705034df8512b5db1651cc (diff)
downloadchef-b475aeb1698b85311230759f1e24728975488ca4.tar.gz
Enable deprecation warnings in our specs
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec')
-rw-r--r--spec/spec_helper.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 170d7095b9..9aafbfa994 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -24,6 +24,9 @@ module Shell
IRB = nil unless defined? IRB
end
+# show the deprecation warnings
+Warning[:deprecated] = true
+
$LOAD_PATH.unshift File.expand_path("..", __dir__)
$LOAD_PATH.unshift File.expand_path("../chef-config/lib", __dir__)