summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authornimisha <nimisha.sharad@msystechnologies.com>2017-08-17 18:41:31 +0530
committerBryan McLellan <btm@loftninjas.org>2017-09-05 20:09:30 -0400
commit1ee8b15ae338cc5eadb278f949c2e2eaca5daea0 (patch)
tree4eab9706f19abef14bb445c3b5bcf390b33f6609 /spec
parent3efe94760ff2d3743431a88331256bface534847 (diff)
downloadchef-1ee8b15ae338cc5eadb278f949c2e2eaca5daea0.tar.gz
Using LOGON32_LOGON_NEW_CREDENTIALS instead of LOGON32_LOGON_NETWORK
Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
Diffstat (limited to 'spec')
-rw-r--r--spec/unit/util/windows/logon_session_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/util/windows/logon_session_spec.rb b/spec/unit/util/windows/logon_session_spec.rb
index 7c5e7c76c9..b9b6c458b6 100644
--- a/spec/unit/util/windows/logon_session_spec.rb
+++ b/spec/unit/util/windows/logon_session_spec.rb
@@ -22,7 +22,7 @@ require "chef/util/windows/logon_session"
describe ::Chef::Util::Windows::LogonSession do
before do
stub_const("Chef::ReservedNames::Win32::API::Security", Class.new)
- stub_const("Chef::ReservedNames::Win32::API::Security::LOGON32_LOGON_NETWORK", 314)
+ stub_const("Chef::ReservedNames::Win32::API::Security::LOGON32_LOGON_NEW_CREDENTIALS", 314)
stub_const("Chef::ReservedNames::Win32::API::Security::LOGON32_PROVIDER_DEFAULT", 159)
stub_const("Chef::ReservedNames::Win32::API::System", Class.new )
end