diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-04-27 23:50:17 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-04-27 23:50:17 +0300 |
commit | 4f2d2c90f7c32a9113ccce440411ec80374ee385 (patch) | |
tree | 312803a008da343b9e773324d8411557a271e918 /spec/support | |
parent | df96c079ef3e358ea221ce4c43163d478b79a5e0 (diff) | |
download | gitlab-ce-4f2d2c90f7c32a9113ccce440411ec80374ee385.tar.gz |
Move Gitlab::Git out of gitlab core
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/test_env.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/support/test_env.rb b/spec/support/test_env.rb index 8a2e004f824..efc629e6478 100644 --- a/spec/support/test_env.rb +++ b/spec/support/test_env.rb @@ -32,6 +32,7 @@ module TestEnv # Use tmp dir for FS manipulations repos_path = Rails.root.join('tmp', 'test-git-base-path') Gitlab.config.gitlab_shell.stub(repos_path: repos_path) + Gitlab::Git::Repository.stub(repos_path: repos_path) GollumWiki.any_instance.stub(:init_repo) do |path| create_temp_repo(File.join(repos_path, "#{path}.git")) |