In Cucumber step definitions, it'd be smart not to chdir into a dir we're about to kill
This commit is contained in:
parent
5836b441f6
commit
2d0e65b5f7
|
@ -5,7 +5,7 @@ Before do
|
|||
end
|
||||
|
||||
After do
|
||||
Dir.chdir(TEST_DIR)
|
||||
Dir.chdir(File.expand_path("..", TEST_DIR))
|
||||
FileUtils.rm_rf(TEST_DIR)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue