summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2016-12-05 11:46:32 -0800
committerTim Smith <tsmith@chef.io>2016-12-05 11:46:32 -0800
commit0de4e6576e55cd0165e08ff86dbfa85abf400dc3 (patch)
tree6af733324796e67feeca824b14b6e29466a2882b
parent8b1600d825a7f9509f9448d0b831b8a07c9aec02 (diff)
downloadchef-tas50/typo.tar.gz
The suggested fix for the manage_home deprecation is incorrecttas50/typo
manage_home: true is not a proper resource property. It should be manage_home true instead. Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--spec/unit/provider/user/linux_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/provider/user/linux_spec.rb b/spec/unit/provider/user/linux_spec.rb
index 819dc5e0fe..ca62f2b150 100644
--- a/spec/unit/provider/user/linux_spec.rb
+++ b/spec/unit/provider/user/linux_spec.rb
@@ -69,7 +69,7 @@ describe Chef::Provider::User::Linux do
it "throws a deprecation warning on setting supports[:manage_home]" do
Chef::Config[:treat_deprecation_warnings_as_errors] = false
- expect(Chef).to receive(:deprecated).with(:supports_property, "supports { manage_home: true } on the user resource is deprecated and will be removed in Chef 13, set manage_home: true instead")
+ expect(Chef).to receive(:deprecated).with(:supports_property, "supports { manage_home: true } on the user resource is deprecated and will be removed in Chef 13, set manage_home true instead")
@new_resource.supports( { :manage_home => true } )
end