summaryrefslogtreecommitdiff
path: root/spec/gitlab_projects_spec.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-04 15:58:44 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-04 15:58:44 -0800
commitf19eee9959bc89c6d9bbb4bf2e4b19158f5c7fd5 (patch)
tree895e03aac8a019edcd744e594ea496929aa26649 /spec/gitlab_projects_spec.rb
parent93e83794f5d9b6aa0014e456551c0414d574c391 (diff)
downloadgitlab-shell-f19eee9959bc89c6d9bbb4bf2e4b19158f5c7fd5.tar.gz
Stub repo path for tests
Diffstat (limited to 'spec/gitlab_projects_spec.rb')
-rw-r--r--spec/gitlab_projects_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/gitlab_projects_spec.rb b/spec/gitlab_projects_spec.rb
index a592e62..e8875b6 100644
--- a/spec/gitlab_projects_spec.rb
+++ b/spec/gitlab_projects_spec.rb
@@ -3,6 +3,7 @@ require_relative '../lib/gitlab_projects'
describe GitlabProjects do
before do
+ GitlabConfig.any_instance.stub(repos_path: tmp_repos_path)
FileUtils.mkdir_p(tmp_repos_path)
$logger = double('logger').as_null_object
end