Permalink
Browse files

Initialize delegate IO for non-tee methods

fixes #70.
  • Loading branch information...
1 parent eac828b commit b3994b32cd3a8cd6643834b4c72d677052b2a1b5 @nicksieger nicksieger committed Aug 1, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/ci/reporter/test_suite.rb
@@ -12,6 +12,7 @@ module OutputCapture
class Delegate < DelegateClass(IO)
include OutputCapture
def initialize(io, &assign)
+ super(io)
capture(io, &assign)
end
end

0 comments on commit b3994b3

Please sign in to comment.