浏览代码

Fix Minitest deprecation warning

Thibaut 11 年之前
父节点
当前提交
1fc2e6424d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/test_helper.rb

+ 1 - 1
test/test_helper.rb

@@ -39,6 +39,6 @@ def rm_tmp
   FileUtils.rm_rf $tmp_path if $tmp_path
 end
 
-MiniTest::Unit.after_tests do
+Minitest.after_run do
   rm_tmp
 end