diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2017-02-26 15:53:22 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2017-02-28 11:19:49 -0800 |
commit | 80547d21f52630d65a321975a6b9d19d9f2f49f4 (patch) | |
tree | 7e21d9e64025caa17325a5758b6570afa36044d6 /spec/unit/resource | |
parent | f539a7f985c9c7f92b6197b883d8f6c201cf70e8 (diff) | |
download | chef-80547d21f52630d65a321975a6b9d19d9f2f49f4.tar.gz |
Chef-13: Remove supports API from all user providers
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec/unit/resource')
-rw-r--r-- | spec/unit/resource/user_spec.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/unit/resource/user_spec.rb b/spec/unit/resource/user_spec.rb index 138ffb1bfe..afd3969164 100644 --- a/spec/unit/resource/user_spec.rb +++ b/spec/unit/resource/user_spec.rb @@ -1,6 +1,6 @@ # # Author:: Adam Jacob (<adam@chef.io>) -# Copyright:: Copyright 2008-2016, Chef Software Inc. +# Copyright:: Copyright 2008-2017, Chef Software Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -46,12 +46,12 @@ describe Chef::Resource::User, "initialize" do expect(@resource.action).to eql([:create]) end - it "should set supports[:manage_home] to false" do - expect(@resource.supports[:manage_home]).to eql(false) + it "should set manage_home to false" do + expect(@resource.manage_home).to eql(false) end - it "should set supports[:non_unique] to false" do - expect(@resource.supports[:non_unique]).to eql(false) + it "should set non_unique to false" do + expect(@resource.non_unique).to eql(false) end it "should set force to false" do |