diff options
author | nimisha <nimisha.sharad@msystechnologies.com> | 2017-12-21 15:52:32 +0530 |
---|---|---|
committer | nimisha <nimisha.sharad@msystechnologies.com> | 2018-01-24 15:00:40 +0530 |
commit | 7381679100ca96c63751cadff8b54722aefed5f4 (patch) | |
tree | 33de58126b040053a750260fe6c6156905446da2 /spec/functional/win32 | |
parent | 85e0c15d15425978de490bdce7fa7692690e6dc4 (diff) | |
download | chef-7381679100ca96c63751cadff8b54722aefed5f4.tar.gz |
Fixed/added specs for LogonSession changes
Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
Diffstat (limited to 'spec/functional/win32')
-rw-r--r-- | spec/functional/win32/security_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/functional/win32/security_spec.rb b/spec/functional/win32/security_spec.rb index d35f6dea0b..6c24cbec08 100644 --- a/spec/functional/win32/security_spec.rb +++ b/spec/functional/win32/security_spec.rb @@ -39,6 +39,7 @@ describe "Chef::Win32::Security", :windows_only do whoami.error! whoami.stdout.split("\\")[0] end + before do allow_any_instance_of(Chef::Mixin::UserContext).to receive(:node).and_return({ "platform_family" => "windows" }) allow(Chef::Platform).to receive(:windows_server_2003?).and_return(false) |