summaryrefslogtreecommitdiff
path: root/spec/unit/provider
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2020-06-26 10:20:50 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2020-06-26 10:20:50 -0700
commit9d75e3b7cc2e87eb3c7950561a2c064feeb243f1 (patch)
treed05d6939fdffa3e4324eb75462dbe6fef86aeff1 /spec/unit/provider
parent696ecf12ff818f86c1d0853b407c0dd6cac9bc9f (diff)
downloadchef-9d75e3b7cc2e87eb3c7950561a2c064feeb243f1.tar.gz
Pick some of the unit test fixes from #10068lcg/win-unit-test-cherrypick
This picks some of the more obviously correct looking fixes from #10068 Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec/unit/provider')
-rw-r--r--spec/unit/provider/batch_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/provider/batch_spec.rb b/spec/unit/provider/batch_spec.rb
index 3ca1334489..80e914beaa 100644
--- a/spec/unit/provider/batch_spec.rb
+++ b/spec/unit/provider/batch_spec.rb
@@ -94,7 +94,7 @@ describe Chef::Provider::Batch do
end
describe "#command" do
- let(:basepath) { "C:\\Windows\\system32" }
+ let(:basepath) { "C:\\Windows\\system32\\" }
let(:interpreter) { File.join(basepath, "cmd.exe") }
before do