summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorJohn McCrae <john.mccrae@progress.com>2021-06-02 19:17:14 -0700
committerJohn McCrae <john.mccrae@progress.com>2021-06-02 19:17:14 -0700
commit8010189955828df2acb3b2182f0efdd511a67f61 (patch)
treec301c913d9a47918667db4a3fa91c774832e22d5 /spec
parentc6caf9c4346d854e6dfb6dabb9185c3c9f961b76 (diff)
downloadchef-8010189955828df2acb3b2182f0efdd511a67f61.tar.gz
Updated the Windows Pagefile resource to use PowerShell over WMI, added a corresponding test file
Signed-off-by: John McCrae <john.mccrae@progress.com>
Diffstat (limited to 'spec')
-rw-r--r--spec/functional/resource/windows_pagefile_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/resource/windows_pagefile_spec.rb b/spec/functional/resource/windows_pagefile_spec.rb
index c627b6708f..fd44c01973 100644
--- a/spec/functional/resource/windows_pagefile_spec.rb
+++ b/spec/functional/resource/windows_pagefile_spec.rb
@@ -21,7 +21,7 @@ require "chef/mixin/powershell_exec"
describe Chef::Resource::WindowsPagefile, :windows_only do
include Chef::Mixin::PowershellExec
- let(:c_path) { "c:\pagefile.sys" }
+ let(:c_path) { "c:\\" }
let(:e_path) { "e:\pagefile.sys" }
let(:run_context) do