Skip to content


running test with_info_handler method
Browse files Browse the repository at this point in the history
  • Loading branch information
Kazhuu authored and kaspth committed Apr 16, 2019
1 parent 19df75d commit 758ba11
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions activesupport/
@@ -1,3 +1,8 @@
* Calling test methods with `with_info_handler` method to allow minitest-hooks
plugin to work.

*Mauri Mustonen*

* The Zeitwerk compatibility interface for `ActiveSupport::Dependencies` no
longer implements `autoloaded_constants` or `autoloaded?` (undocumented,
anyway). Experience shows introspection does not have many use cases, and
Expand Down
4 changes: 3 additions & 1 deletion activesupport/lib/active_support/testing/parallelization.rb
Expand Up @@ -79,7 +79,9 @@ def start
klass = job[0]
method = job[1]
reporter = job[2]
result = Minitest.run_one_method(klass, method)
result = klass.with_info_handler reporter do
Minitest.run_one_method(klass, method)

queue.record(reporter, result)
Expand Down

0 comments on commit 758ba11

Please sign in to comment.