Commit 9ce61aa9 authored by Florian R. Hanke's avatar Florian R. Hanke

Add example with two newlines.

parent 6eed7f54
......@@ -29,5 +29,15 @@ module Pod
Executable.execute_command('ruby', cmd, true).should == "out\n"
end
end
it "returns the right output" do
cmd = ['-e', <<-RB]
puts 'foo'
puts 'bar'
RB
Timeout.timeout(2) do
Executable.execute_command('ruby', cmd, true).should == "foo\nbar\n"
end
end
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment