lib/m/runners/minitest_5.rb in m-1.3.4 vs lib/m/runners/minitest_5.rb in m-1.4.0
- old
+ new
@@ -4,10 +4,12 @@
def suites
Minitest::Runnable.runnables
end
def run(test_arguments)
- Minitest.run test_arguments
+ output = Minitest.run test_arguments
+ ::Minitest.class_variable_get(:@@after_run).reverse_each(&:call)
+ output
end
def test_methods(suite_class)
suite_class.runnable_methods
end