Skip to content

Commit

Permalink
Cucumber: remove test dir if it's there
Browse files Browse the repository at this point in the history
  • Loading branch information
parkr committed Apr 14, 2013
1 parent b51b796 commit 4879546
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions features/step_definitions/jekyll_steps.rb
@@ -1,4 +1,7 @@
Before do
if File.directory?(TEST_DIR)
FileUtils.rm_rf(TEST_DIR)
end
FileUtils.mkdir(TEST_DIR)
Dir.chdir(TEST_DIR)
end
Expand Down

0 comments on commit 4879546

Please sign in to comment.