Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
7 additions
and 5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -1,10 +1,12 @@ | ||
require 'open3' | ||
|
||
if RUBY_VERSION > '1.9' | ||
describe "Open3.popen3" do | ||
it "accepts and ignores empty trailing options hash" do | ||
# capture3 is an easy way to test popen3 options behavior | ||
result = Open3.capture3('echo') | ||
|
||
expect(result[0]).to eq "\n" | ||
end | ||
end | ||
end |