summaryrefslogtreecommitdiff
path: root/lib/chef/mixin/user_context.rb
diff options
context:
space:
mode:
authornimisha <nimisha.sharad@msystechnologies.com>2017-02-24 18:46:51 +0530
committerBryan McLellan <btm@loftninjas.org>2017-09-05 20:09:30 -0400
commit24de354c67305563f677080c03b8892c4a9e0fb1 (patch)
tree9e3657586d78f843aa3e139ecccba9d67e72efaf /lib/chef/mixin/user_context.rb
parent35f4cafac60770b59853d7e12b418f1971d234db (diff)
downloadchef-24de354c67305563f677080c03b8892c4a9e0fb1.tar.gz
Fixing specs
Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
Diffstat (limited to 'lib/chef/mixin/user_context.rb')
-rw-r--r--lib/chef/mixin/user_context.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/mixin/user_context.rb b/lib/chef/mixin/user_context.rb
index a8f7c4bd9c..40a72912a3 100644
--- a/lib/chef/mixin/user_context.rb
+++ b/lib/chef/mixin/user_context.rb
@@ -24,7 +24,7 @@ class Chef
def with_user_context(user, password, domain = nil, &block)
if node["platform_family"] != "windows"
- raise Exceptions::UnsupportedPlatform, "User context impersonation is supported only on the Windows platform"
+ raise Exceptions::UnsupportedPlatform, "User context impersonation is supported only on the Windows platform"
end
if ! block_given?