diff options
Diffstat (limited to 'spec/unit/provider/group/usermod_spec.rb')
-rw-r--r-- | spec/unit/provider/group/usermod_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/provider/group/usermod_spec.rb b/spec/unit/provider/group/usermod_spec.rb index 5ab5d2bce0..7bd45c4f1b 100644 --- a/spec/unit/provider/group/usermod_spec.rb +++ b/spec/unit/provider/group/usermod_spec.rb @@ -24,7 +24,7 @@ describe Chef::Provider::Group::Usermod do @events = Chef::EventDispatch::Dispatcher.new @run_context = Chef::RunContext.new(@node, {}, @events) @new_resource = Chef::Resource::Group.new("wheel") - @new_resource.members %w(all your base) + @new_resource.members %w{all your base} @new_resource.excluded_members [ ] @provider = Chef::Provider::Group::Usermod.new(@new_resource, @run_context) allow(@provider).to receive(:run_command) @@ -56,7 +56,7 @@ describe Chef::Provider::Group::Usermod do } before do - allow(@new_resource).to receive(:members).and_return(%w(all your base)) + allow(@new_resource).to receive(:members).and_return(%w{all your base}) allow(File).to receive(:exists?).and_return(true) end |