diff options
author | Kartik Null Cating-Subramanian <ksubramanian@chef.io> | 2015-04-21 17:37:12 -0400 |
---|---|---|
committer | Kartik Null Cating-Subramanian <ksubramanian@chef.io> | 2015-04-21 17:37:12 -0400 |
commit | 3d0a90b4f69cb0b6ae54c5af9ec9aab1646eb3f7 (patch) | |
tree | c803cead991e1bea5769abb5d1cfd1335de7ea28 /spec | |
parent | 36c8f1c3d144a26f2f5f5f38a7ba59c10ef16a59 (diff) | |
download | mixlib-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.rb | 2 |
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 |