diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-12-07 13:42:39 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-12-07 13:42:39 -0800 |
commit | e921e921fbbd759b5dc43404b45f1dc198bd7417 (patch) | |
tree | 3445709ab2cea81e02ea8fbae436d0656cb1959c /spec/unit/provider_resolver_spec.rb | |
parent | 1c9970d97b043e250b5d000ce2f581f4a7466e72 (diff) | |
download | chef-e921e921fbbd759b5dc43404b45f1dc198bd7417.tar.gz |
Properly deprecate old Chef::Platform methods
These should have been deprecated formally in 12.5.1 after the
Dynamic Provider-Resolver'ing of the internal chef resources
was completed.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec/unit/provider_resolver_spec.rb')
-rw-r--r-- | spec/unit/provider_resolver_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/unit/provider_resolver_spec.rb b/spec/unit/provider_resolver_spec.rb index 5ba5ddae03..ec102209ab 100644 --- a/spec/unit/provider_resolver_spec.rb +++ b/spec/unit/provider_resolver_spec.rb @@ -135,6 +135,7 @@ describe Chef::ProviderResolver do end else it "'#{name}' fails to resolve (since #{name.inspect} is unsupported on #{platform} #{platform_version})", *tags do + Chef::Config[:treat_deprecation_warnings_as_errors] = false expect(resolved_provider).to be_nil end end |