Sha256: e990ab7e9b82617e60408778894ba15441d7278fd70b2deb58bc70fa48f80eac
Contents?: true
Size: 377 Bytes
Versions: 3
Compression:
Stored size: 377 Bytes
Contents
class MiniTest::Unit::TestCase def new_run(runner) result = old_run(runner) RedGreen.colour = :red unless self.passed? result end alias :old_run :run alias :run :new_run end class MiniTest::Unit def new_run(args = []) count = old_run(args) @@out.puts RedGreen.visual @@out.puts count end alias :old_run :run alias :run :new_run end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
social_url_stats-0.0.1 | vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/lib/redgreen/minitest.rb |
mynyml-redgreen-0.7.1 | lib/redgreen/minitest.rb |
mynyml-redgreen-0.7 | lib/redgreen/minitest.rb |