From d64090b8a9065746c6d532057228c079a1d57013 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Mon, 11 Feb 2013 19:16:59 +0200 Subject: No gitolite in project any more --- features/support/env.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'features/support') 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 -- cgit v1.2.1