aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/test_unit
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2015-06-23 07:53:17 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2015-06-23 07:53:17 +0900
commit1d3e0f5872c072d7811a2878dd0e86c82031b43f (patch)
tree7183f356bfacd4d2830104ef6dde3ebae2c225ce /railties/test/test_unit
parent73aa66342e685b21ece23192bcb0e79c069e962a (diff)
downloadrails-1d3e0f5872c072d7811a2878dd0e86c82031b43f.tar.gz
rails-1d3e0f5872c072d7811a2878dd0e86c82031b43f.tar.bz2
rails-1d3e0f5872c072d7811a2878dd0e86c82031b43f.zip
do not show "Failed tests" message when a failed test is not
Diffstat (limited to 'railties/test/test_unit')
-rw-r--r--railties/test/test_unit/reporter_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/test/test_unit/reporter_test.rb b/railties/test/test_unit/reporter_test.rb
index f9c7888bc6..3066ba82d6 100644
--- a/railties/test/test_unit/reporter_test.rb
+++ b/railties/test/test_unit/reporter_test.rb
@@ -32,6 +32,7 @@ class TestUnitReporterTest < ActiveSupport::TestCase
@reporter.record(passing_test)
@reporter.record(skipped_test)
@reporter.report
+ assert_no_match 'Failed tests:', @output.string
assert_rerun_snippet_count 0
end