diff options
author | Matthew Draper <matthew@trebex.net> | 2017-05-10 08:54:33 +0930 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-10 08:54:33 +0930 |
commit | 97bd56e674603529d96c6f6e85d695dd24208afb (patch) | |
tree | b9e4b4531aff73b0b11f8c5c73f5d5ed65f6b587 /railties | |
parent | 943efa30f5475f51fe90df5f85703d191dbd7d6e (diff) | |
parent | a6dba93c4c4fa097300e94ad88fcfc18976082a4 (diff) | |
download | rails-97bd56e674603529d96c6f6e85d695dd24208afb.tar.gz rails-97bd56e674603529d96c6f6e85d695dd24208afb.tar.bz2 rails-97bd56e674603529d96c6f6e85d695dd24208afb.zip |
Merge pull request #29022 from y-yagi/allow_to_receive_arbitrary_arguments_in_aggregated_results
Allow to receive arbitrary arguments in `aggregated_results`
Diffstat (limited to 'railties')
-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 |