diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-11 21:16:59 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-11 21:16:59 +0400 |
commit | d64090b8a9065746c6d532057228c079a1d57013 (patch) | |
tree | a97504c15dedfd470d9ffc11c51bd15a6718e8cb /features/support | |
parent | 8e0b58d7e7cde0d9afb93f267197f62b9b649cd3 (diff) |
No gitolite in project any more
Diffstat (limited to 'features/support')
-rw-r--r-- | features/support/env.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/features/support/env.rb b/features/support/env.rb index c19ca3088cb..da40b38b79c 100644 --- a/features/support/env.rb +++ b/features/support/env.rb @@ -31,9 +31,9 @@ DatabaseCleaner.strategy = :truncation Spinach.hooks.before_scenario do # Use tmp dir for FS manipulations - Gitlab.config.gitolite.stub(repos_path: Rails.root.join('tmp', 'test-git-base-path')) - FileUtils.rm_rf Gitlab.config.gitolite.repos_path - FileUtils.mkdir_p Gitlab.config.gitolite.repos_path + 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 end Spinach.hooks.after_scenario do |