summaryrefslogtreecommitdiff
path: root/features/support/env.rb
diff options
context:
space:
mode:
authorRiyad Preukschas <riyad@informatik.uni-bremen.de>2012-12-15 01:16:25 +0100
committerRiyad Preukschas <riyad@informatik.uni-bremen.de>2012-12-20 16:54:28 +0100
commit19eb63741995e3be60781db74edab5d5ae896c6b (patch)
tree349c2f0d63b4bf89500de1c8c3ee5887dc981e68 /features/support/env.rb
parentb2e46f44ceee2078b8e1d92ae5ff892c044bc0e7 (diff)
downloadgitlab-ce-19eb63741995e3be60781db74edab5d5ae896c6b.tar.gz
Update uses of Gitolite.config.foo settings
Diffstat (limited to 'features/support/env.rb')
-rw-r--r--features/support/env.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/features/support/env.rb b/features/support/env.rb
index 38fcc5ad092..500de0f3e20 100644
--- a/features/support/env.rb
+++ b/features/support/env.rb
@@ -33,9 +33,9 @@ DatabaseCleaner.strategy = :truncation
Spinach.hooks.before_scenario do
# Use tmp dir for FS manipulations
- Gitlab.config.stub(git_base_path: Rails.root.join('tmp', 'test-git-base-path'))
- FileUtils.rm_rf Gitlab.config.git_base_path
- FileUtils.mkdir_p Gitlab.config.git_base_path
+ 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
end
Spinach.hooks.after_scenario do