Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-28 23:02:41 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-28 23:02:41 +0400
commit00ae65b10808289252b1115eb86b90fcddc17d59 (patch)
tree9ecdbad5431f44991abfb5b588469aff480db70e /features/support
parent1c517153a889f77f0a2c321ce4e013f4504253e9 (diff)
try to use stable version for database cleaner
Diffstat (limited to 'features/support')
-rw-r--r--features/support/env.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/features/support/env.rb b/features/support/env.rb
index da40b38b79c..2fd7ffdb813 100644
--- a/features/support/env.rb
+++ b/features/support/env.rb
@@ -34,6 +34,7 @@ Spinach.hooks.before_scenario do
Gitlab.config.gitlab_shell.stub(repos_path: Rails.root.join('tmp', 'test-git-base-path'))
FileUtils.rm_rf Gitlab.config.gitlab_shell.repos_path
FileUtils.mkdir_p Gitlab.config.gitlab_shell.repos_path
+ DatabaseCleaner.start
end
Spinach.hooks.after_scenario do