try to use stable version for database cleaner

This commit is contained in:
Dmitriy Zaporozhets 2013-02-28 21:02:41 +02:00
parent 1c517153a8
commit 00ae65b108
4 changed files with 6 additions and 11 deletions

View file

@ -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