diff options
author | Yves Senn <yves.senn@gmail.com> | 2016-02-15 15:09:00 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2016-02-15 15:19:24 +0100 |
commit | 07e422f58d61da0da4fce3180c3b79982e208143 (patch) | |
tree | 9fed1c251e296eb029ab453a26d49d9fb7071efd /railties/lib/rails/test_unit | |
parent | ea70c295ffc7b335ed6c587f4060746e8b59d833 (diff) | |
download | rails-07e422f58d61da0da4fce3180c3b79982e208143.tar.gz rails-07e422f58d61da0da4fce3180c3b79982e208143.tar.bz2 rails-07e422f58d61da0da4fce3180c3b79982e208143.zip |
test runner, relay minitest information about the error location.
This is a follow-up to ea70c29 to bring back the assertion error
location information provided by minitest.
Diffstat (limited to 'railties/lib/rails/test_unit')
-rw-r--r-- | railties/lib/rails/test_unit/reporter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/test_unit/reporter.rb b/railties/lib/rails/test_unit/reporter.rb index 317726f672..ce99dbd585 100644 --- a/railties/lib/rails/test_unit/reporter.rb +++ b/railties/lib/rails/test_unit/reporter.rb @@ -68,7 +68,7 @@ module Rails def format_failures(result) result.failures.map do |failure| - "#{failure.result_label}:\n#{result.class}##{result.name}:\n#{failure.message}\n" + "#{failure.result_label}:\n#{result.location}:\n#{failure.message}\n" end end |