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.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/unit/provider/user/windows_spec.rb b/spec/unit/provider/user/windows_spec.rb
index 6ede11b28c..b11eeaebe5 100644
--- a/spec/unit/provider/user/windows_spec.rb
+++ b/spec/unit/provider/user/windows_spec.rb
@@ -6,9 +6,9 @@
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
-#
+#
# http://www.apache.org/licenses/LICENSE-2.0
-#
+#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -41,7 +41,7 @@ describe Chef::Provider::User::Windows do
@provider = Chef::Provider::User::Windows.new(@new_resource, @run_context)
@provider.current_resource = @current_resource
end
-
+
describe "when comparing the user's current attributes to the desired attributes" do
before do
@new_resource.comment "Adam Jacob"
@@ -79,7 +79,7 @@ describe Chef::Provider::User::Windows do
end
end
-
+
describe "and the attributes do not match" do
before do
@current_resource = Chef::Resource::User.new("adam")
@@ -130,7 +130,7 @@ describe Chef::Provider::User::Windows do
before(:each) do
@provider.stub!(:set_options).and_return(:name=> "monkey")
end
-
+
it "should call @net_user.update with the return of set_options" do
@net_user.should_receive(:update).with(:name=> "monkey")
@provider.manage_user