10 lines
186 B
Ruby
10 lines
186 B
Ruby
|
Before do
|
||
|
FileUtils.rm_rf(TEST_DIR) if File.exist?(TEST_DIR)
|
||
|
FileUtils.mkdir_p(TEST_DIR)
|
||
|
Dir.chdir(TEST_DIR)
|
||
|
end
|
||
|
|
||
|
After do
|
||
|
FileUtils.rm_rf(TEST_DIR) if File.exist?(TEST_DIR)
|
||
|
end
|