Skip to content
Permalink
Browse files
running test with_info_handler method
  • Loading branch information
Kazhuu authored and kaspth committed Apr 16, 2019
1 parent 19df75d commit 758ba117a008b6ea2d3b92c53b6a7a8d7ccbca69
Showing with 8 additions and 1 deletion.
  1. +5 −0 activesupport/CHANGELOG.md
  2. +3 −1 activesupport/lib/active_support/testing/parallelization.rb
@@ -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
@@ -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)
end

begin
queue.record(reporter, result)

0 comments on commit 758ba11

Please sign in to comment.