diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/mixlib/shellout/windows_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/mixlib/shellout/windows_spec.rb b/spec/mixlib/shellout/windows_spec.rb index d4edabc..034f4e6 100644 --- a/spec/mixlib/shellout/windows_spec.rb +++ b/spec/mixlib/shellout/windows_spec.rb @@ -15,6 +15,10 @@ describe "Mixlib::ShellOut::Windows", :windows_only do end end + context "with arrays" do + with_command(%w{echo %PATH%}) { is_expected.to be_truthy } + end + context "when unquoted" do with_command(%q{ruby -e 'prints "foobar"'}) { is_expected.not_to be_truthy } |