summaryrefslogtreecommitdiff
path: root/spec/spec_helper.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 /spec/spec_helper.rb
parentb2e46f44ceee2078b8e1d92ae5ff892c044bc0e7 (diff)
downloadgitlab-ce-19eb63741995e3be60781db74edab5d5ae896c6b.tar.gz
Update uses of Gitolite.config.foo settings
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 7728b1e9d84..9f066c0e7f3 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -42,8 +42,8 @@ RSpec.configure do |config|
# ActiveRecord::Base.observers.enable(:all)
# 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
end