summaryrefslogtreecommitdiff
path: root/spec/unit/provider/user/pw_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/provider/user/pw_spec.rb')
-rw-r--r--spec/unit/provider/user/pw_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/unit/provider/user/pw_spec.rb b/spec/unit/provider/user/pw_spec.rb
index 624bcfc67d..fb7c9211a1 100644
--- a/spec/unit/provider/user/pw_spec.rb
+++ b/spec/unit/provider/user/pw_spec.rb
@@ -32,6 +32,8 @@ describe Chef::Provider::User::Pw do
@new_resource.shell "/usr/bin/zsh"
@new_resource.password "abracadabra"
+ # XXX: rip out in Chef-13
+ Chef::Config[:treat_deprecation_warnings_as_errors] = false
@new_resource.supports :manage_home => true
@current_resource = Chef::Resource::User::PwUser.new("adam")