mirror of
https://github.com/jekyll/jekyll.git
synced 2026-04-28 03:01:03 -04:00
In Cucumber step definitions, it'd be smart not to chdir into a dir we're about to kill
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user