aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorArthur Neves <arthurnn@gmail.com>2015-01-23 20:40:33 -0500
committerYves Senn <yves.senn@gmail.com>2015-03-18 09:52:17 +0100
commit5ae2c7060f6a1bf23fd598eb92ff5417ac589dcc (patch)
tree8bcbcd6c8667e486f88487b94c8660cda521e0b6 /railties
parentd1a5460e3eb939d8de780df9a6530b02fe6d5614 (diff)
downloadrails-5ae2c7060f6a1bf23fd598eb92ff5417ac589dcc.tar.gz
rails-5ae2c7060f6a1bf23fd598eb92ff5417ac589dcc.tar.bz2
rails-5ae2c7060f6a1bf23fd598eb92ff5417ac589dcc.zip
Dont display Failed test if suite passed
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/test_unit/reporter.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/test_unit/reporter.rb b/railties/lib/rails/test_unit/reporter.rb
index bd4d455589..6d33fae911 100644
--- a/railties/lib/rails/test_unit/reporter.rb
+++ b/railties/lib/rails/test_unit/reporter.rb
@@ -3,6 +3,7 @@ require "minitest"
module Rails
class TestUnitReporter < Minitest::StatisticsReporter
def report
+ return if passed?
io.puts
io.puts "Failed test:"
io.puts