summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorKartik Null Cating-Subramanian <ksubramanian@chef.io>2015-04-21 17:37:12 -0400
committerKartik Null Cating-Subramanian <ksubramanian@chef.io>2015-04-21 17:37:12 -0400
commit3d0a90b4f69cb0b6ae54c5af9ec9aab1646eb3f7 (patch)
treec803cead991e1bea5769abb5d1cfd1335de7ea28 /spec
parent36c8f1c3d144a26f2f5f5f38a7ba59c10ef16a59 (diff)
downloadmixlib-shellout-3d0a90b4f69cb0b6ae54c5af9ec9aab1646eb3f7.tar.gz
Change mixlib spec test to pass on windows by invoking powershell explicitly.ksubrama/test_fix
Diffstat (limited to 'spec')
-rw-r--r--spec/mixlib/shellout_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/mixlib/shellout_spec.rb b/spec/mixlib/shellout_spec.rb
index 39cddb1..b1d7031 100644
--- a/spec/mixlib/shellout_spec.rb
+++ b/spec/mixlib/shellout_spec.rb
@@ -951,7 +951,7 @@ describe Mixlib::ShellOut do
context 'on windows', :windows_only do
let(:cmd) do
- "sleep 10"
+ 'powershell -c "sleep 10"'
end
it "should raise CommandTimeout" do