You can move these `clean_directory` calls into a `setup` block as described [here](http://www.ruby-doc.org/stdlib-1.9.3/libdoc/minitest/unit/rdoc/MiniTest.html).