diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-05-10 07:46:29 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-05-10 07:46:29 +0900 |
commit | a6dba93c4c4fa097300e94ad88fcfc18976082a4 (patch) | |
tree | 3fabbc63361bed1fa8e99aec2570fc0377ed7b70 /railties/lib/rails | |
parent | 45095a817b29f3b4956abce5d059410d591b902a (diff) | |
download | rails-a6dba93c4c4fa097300e94ad88fcfc18976082a4.tar.gz rails-a6dba93c4c4fa097300e94ad88fcfc18976082a4.tar.bz2 rails-a6dba93c4c4fa097300e94ad88fcfc18976082a4.zip |
Allow to receive arbitrary arguments in `aggregated_results`
Argument was added to `aggregated_results` in minitest 5.10.2.
Ref: https://github.com/seattlerb/minitest/commit/c6ba2afd90473b76d289562edd24f7d7ca8484f9
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/test_unit/minitest_plugin.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/test_unit/minitest_plugin.rb b/railties/lib/rails/test_unit/minitest_plugin.rb index 8decdb0f4f..7a852d1109 100644 --- a/railties/lib/rails/test_unit/minitest_plugin.rb +++ b/railties/lib/rails/test_unit/minitest_plugin.rb @@ -6,7 +6,7 @@ require "shellwords" module Minitest class SuppressedSummaryReporter < SummaryReporter # Disable extra failure output after a run if output is inline. - def aggregated_results + def aggregated_results(*) super unless options[:output_inline] end end |