summaryrefslogtreecommitdiff
path: root/spec/unit/provider/group_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/provider/group_spec.rb')
-rw-r--r--spec/unit/provider/group_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/unit/provider/group_spec.rb b/spec/unit/provider/group_spec.rb
index c3e0d4b345..437b8c45ea 100644
--- a/spec/unit/provider/group_spec.rb
+++ b/spec/unit/provider/group_spec.rb
@@ -37,9 +37,9 @@ describe Chef::Provider::User do
@provider.current_resource = @current_resource
@pw_group = double("Struct::Group",
- :name => "wheel",
- :gid => 20,
- :mem => %w{root aj}
+ name: "wheel",
+ gid: 20,
+ mem: %w{root aj}
)
allow(Etc).to receive(:getgrnam).with("wheel").and_return(@pw_group)
end