diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-04 15:58:44 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-04 15:58:44 -0800 |
commit | f19eee9959bc89c6d9bbb4bf2e4b19158f5c7fd5 (patch) | |
tree | 895e03aac8a019edcd744e594ea496929aa26649 | |
parent | 93e83794f5d9b6aa0014e456551c0414d574c391 (diff) | |
download | gitlab-shell-f19eee9959bc89c6d9bbb4bf2e4b19158f5c7fd5.tar.gz |
Stub repo path for tests
-rw-r--r-- | spec/gitlab_projects_spec.rb | 1 |
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 |