diff options
author | Noah Kantrowitz <noah@coderanger.net> | 2017-04-11 14:17:47 -0700 |
---|---|---|
committer | Noah Kantrowitz <noah@coderanger.net> | 2017-04-11 14:17:47 -0700 |
commit | 9e7e3c7b1af0dd2eb019f919bec422e0ff6b907f (patch) | |
tree | e2cfa29d58f7736c5ee6b237a8cfe5a0ad790a6a /spec/unit/provider/user_spec.rb | |
parent | c08968e5aa066705bddab542ddab4c9b807ccfc3 (diff) | |
download | chef-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.rb | 2 |
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 |