mirror of
https://github.com/haml/haml-rails.git
synced 2022-11-09 12:34:15 -05:00
Use MiniTest.after_run
MiniTest::Unit.after_tests is being deprecated
This commit is contained in:
parent
0f170bcec6
commit
e9f99f2b37
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ alias :require_generator :require_generators
|
|||
require_generators generator_list
|
||||
|
||||
# Remove tmp directory when test suite is completed
|
||||
MiniTest::Unit.after_tests do
|
||||
MiniTest.after_run do
|
||||
tmp_dir = File.expand_path(File.join(File.dirname(__FILE__), '..', 'tmp'))
|
||||
FileUtils.rm_r(tmp_dir)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue