Permalink
Browse files

+ Bridge MiniTest::Unit.after_tests for compatibility

[git-p4: depot-paths = "//src/minitest/dev/": change = 8467]
  • Loading branch information...
1 parent c7c620b commit e824f68f2cd493d2e51ec385add2c6ff55a61a35 @zenspider zenspider committed Apr 30, 2013
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/minitest/unit.rb
View
@@ -29,6 +29,12 @@ def self.autorun # :nodoc:
warn "MiniTest::Unit.autorun is now Minitest.autorun. From #{from}"
Minitest.autorun
end
+
+ def self.after_tests(&b)
+ from = caller.first
+ warn "MiniTest::Unit.after_tests is now Minitest.after_run. From #{from}"
+ Minitest.after_run(&b)
+ end
end
end

0 comments on commit e824f68

Please sign in to comment.