summaryrefslogtreecommitdiff
path: root/spec/unit/provider/user/windows_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/provider/user/windows_spec.rb')
-rw-r--r--spec/unit/provider/user/windows_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/unit/provider/user/windows_spec.rb b/spec/unit/provider/user/windows_spec.rb
index 37c8655416..4a62e6ec9d 100644
--- a/spec/unit/provider/user/windows_spec.rb
+++ b/spec/unit/provider/user/windows_spec.rb
@@ -127,19 +127,19 @@ describe Chef::Provider::User::Windows do
describe "when creating the user" do
it "should call @net_user.add with the return of set_options" do
- allow(@provider).to receive(:set_options).and_return(:name=> "monkey")
- expect(@net_user).to receive(:add).with(:name=> "monkey")
+ allow(@provider).to receive(:set_options).and_return(:name => "monkey")
+ expect(@net_user).to receive(:add).with(:name => "monkey")
@provider.create_user
end
end
describe "manage_user" do
before(:each) do
- allow(@provider).to receive(:set_options).and_return(:name=> "monkey")
+ allow(@provider).to receive(:set_options).and_return(:name => "monkey")
end
it "should call @net_user.update with the return of set_options" do
- expect(@net_user).to receive(:update).with(:name=> "monkey")
+ expect(@net_user).to receive(:update).with(:name => "monkey")
@provider.manage_user
end
end