diff options
author | Tim Smith <tsmith@chef.io> | 2021-05-01 23:28:18 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2021-05-01 23:28:18 -0700 |
commit | b475aeb1698b85311230759f1e24728975488ca4 (patch) | |
tree | f54db41b98837f156142e5973a75345dc26a2bf6 /spec | |
parent | 4f19535d24dd5dfd4a705034df8512b5db1651cc (diff) | |
download | chef-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.rb | 3 |
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__) |