Permalink
Browse files

Merge pull request #97 from os97673/issue-96

Issue #96: In MiniRunner override output() instead of changeing @@out. [minor]
  • Loading branch information...
2 parents f131c7b + c01a4de commit 29d182fa6c145ffebbe309b9d6b6a199340f98c4 @trans trans committed Jun 26, 2012
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 29d182f

Please sign in to comment.