summaryrefslogtreecommitdiff
path: root/spec/gitlab_shell_spec.rb
diff options
context:
space:
mode:
authorAsh McKenzie <amckenzie@gitlab.com>2018-08-02 11:55:57 +1000
committerAsh McKenzie <amckenzie@gitlab.com>2018-08-02 15:07:17 +1000
commit4a03bd220d36b09aa1b38840b7304f182d623f59 (patch)
tree8fa2701ff56f8900b2f972600021dd58a31e2f4e /spec/gitlab_shell_spec.rb
parent1e96cc63a931c2665e1cacfd53c42e25c96c3b65 (diff)
parentc6577e0d75f51b017f2f332838b97c3ca5b497c0 (diff)
downloadgitlab-shell-4a03bd220d36b09aa1b38840b7304f182d623f59.tar.gz
Merge remote-tracking branch 'origin/master' into ash.mckenzie/srp-refactor
Diffstat (limited to 'spec/gitlab_shell_spec.rb')
-rw-r--r--spec/gitlab_shell_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/gitlab_shell_spec.rb b/spec/gitlab_shell_spec.rb
index 201bc62..c46da5d 100644
--- a/spec/gitlab_shell_spec.rb
+++ b/spec/gitlab_shell_spec.rb
@@ -20,6 +20,7 @@ describe GitlabShell do
let(:repo_path) { File.join(tmp_repos_path, repo_name) }
let(:gl_repository) { 'project-1' }
let(:gl_username) { 'testuser' }
+ let(:git_protocol) { 'version=2' }
let(:api) { double(GitlabNet) }
let(:config) { double(GitlabConfig) }
@@ -28,6 +29,7 @@ describe GitlabShell do
actor,
gl_repository,
gl_username,
+ git_protocol,
repo_path,
{ 'repository' => { 'relative_path' => repo_name, 'storage_name' => 'default' } , 'address' => 'unix:gitaly.socket' })
}