Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorMarin Jankovski <marin@gitlab.com>2014-06-02 12:51:22 +0400
committerMarin Jankovski <marin@gitlab.com>2014-06-03 13:37:23 +0400
commit1dca950c2831bbe37c7d421ae2033aca4cfc4334 (patch)
tree8298d42d15eab344c05cbd126921b9409e4a3c14 /spec
parent9abee4eac80852be502f1cc35cedae063d314e45 (diff)
Fix failing submodule test.
Diffstat (limited to 'spec')
-rw-r--r--spec/helpers/submodule_helper_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/helpers/submodule_helper_spec.rb b/spec/helpers/submodule_helper_spec.rb
index 20378b1b17d..41c9f038c26 100644
--- a/spec/helpers/submodule_helper_spec.rb
+++ b/spec/helpers/submodule_helper_spec.rb
@@ -16,7 +16,8 @@ describe SubmoduleHelper do
end
it 'should detect ssh on standard port' do
- Gitlab.config.gitlab.stub(ssh_port: 22) # set this just to be sure
+ Gitlab.config.gitlab_shell.stub(ssh_port: 22) # set this just to be sure
+ Gitlab.config.gitlab_shell.stub(ssh_path_prefix: Settings.send(:build_gitlab_shell_ssh_path_prefix))
stub_url([ config.user, '@', config.host, ':gitlab-org/gitlab-ce.git' ].join(''))
submodule_links(submodule_item).should == [ project_path('gitlab-org/gitlab-ce'), project_tree_path('gitlab-org/gitlab-ce', 'hash') ]
end