summaryrefslogtreecommitdiff
path: root/spec/unit/provider/user_spec.rb
diff options
context:
space:
mode:
authorNoah Kantrowitz <noah@coderanger.net>2017-04-11 14:17:47 -0700
committerNoah Kantrowitz <noah@coderanger.net>2017-04-11 14:17:47 -0700
commit9e7e3c7b1af0dd2eb019f919bec422e0ff6b907f (patch)
treee2cfa29d58f7736c5ee6b237a8cfe5a0ad790a6a /spec/unit/provider/user_spec.rb
parentc08968e5aa066705bddab542ddab4c9b807ccfc3 (diff)
downloadchef-9e7e3c7b1af0dd2eb019f919bec422e0ff6b907f.tar.gz
Remove a whole bunch more stubbed property stuff.
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
Diffstat (limited to 'spec/unit/provider/user_spec.rb')
-rw-r--r--spec/unit/provider/user_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/provider/user_spec.rb b/spec/unit/provider/user_spec.rb
index 489597445f..9da933606e 100644
--- a/spec/unit/provider/user_spec.rb
+++ b/spec/unit/provider/user_spec.rb
@@ -129,7 +129,7 @@ describe Chef::Provider::User do
end
it "shouldn't try and convert the group gid if none has been supplied" do
- allow(@new_resource).to receive(:gid).and_return(nil)
+ @new_resource.gid(false)
expect(@provider).not_to receive(:convert_group_name)
@provider.load_current_resource
end