spec/lib/helpers.rb in request-log-analyzer-1.12.9 vs spec/lib/helpers.rb in request-log-analyzer-1.12.10
- old
+ new
@@ -34,10 +34,10 @@
def run(arguments)
binary = "#{File.dirname(__FILE__)}/../../bin/request-log-analyzer"
arguments = arguments.join(' ') if arguments.kind_of?(Array)
output = []
- IO.popen("#{binary} #{arguments}") do |pipe|
+ IO.popen("#{binary} #{arguments} 2>&1") do |pipe|
output = pipe.readlines
end
$?.exitstatus.should == 0
output
end