Permalink
Browse files

Issue #96: MiniRunner should not change @@out, but override output() …

…instead
  • Loading branch information...
os97673 committed Jun 25, 2012
1 parent f131c7b commit c01a4de607ba05cfe82f1b54b54cb875dbcd1862
Showing with 7 additions and 3 deletions.
  1. +7 −3 lib/turn/runners/minirunner.rb
@@ -17,9 +17,13 @@ def initialize
super()
- # route minitests traditional output to nowhere
- # (instead of overriding #puts and #print)
- @@out = ::StringIO.new
+ # a stream we will use to route minitests traditional output
+ @out = ::StringIO.new
+ end
+
+ # route minitests traditional output to nowhere
+ def output
+ @out
end
#

0 comments on commit c01a4de

Please sign in to comment.