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
diff options
context:
space:
mode:
authorJacob Vosmaer (GitLab) <jacob@gitlab.com>2018-03-29 11:35:33 +0300
committerSean McGivern <sean@mcgivern.me.uk>2018-03-29 11:35:33 +0300
commite5e4cd96cf948d08296129a086a3b2e86ff57643 (patch)
tree02fb2b50be6802a2ce60a54aa1ece0d15fdc2ba0 /spec/lib/gitlab/workhorse_spec.rb
parentf4ca6e9a9af8dbaabe21e4c45ca6f219a3e9077d (diff)
Gitlab-workhorse still needs RepoPath on Git HTTP
Diffstat (limited to 'spec/lib/gitlab/workhorse_spec.rb')
-rw-r--r--spec/lib/gitlab/workhorse_spec.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/lib/gitlab/workhorse_spec.rb b/spec/lib/gitlab/workhorse_spec.rb
index d67bfb37be7..2b3ffb2d7c0 100644
--- a/spec/lib/gitlab/workhorse_spec.rb
+++ b/spec/lib/gitlab/workhorse_spec.rb
@@ -275,12 +275,14 @@ describe Gitlab::Workhorse do
describe '.git_http_ok' do
let(:user) { create(:user) }
+ let(:repo_path) { 'ignored but not allowed to be empty in gitlab-workhorse' }
let(:action) { 'info_refs' }
let(:params) do
{
GL_ID: "user-#{user.id}",
GL_USERNAME: user.username,
GL_REPOSITORY: "project-#{project.id}",
+ RepoPath: repo_path,
ShowAllRefs: false
}
end
@@ -295,6 +297,7 @@ describe Gitlab::Workhorse do
GL_ID: "user-#{user.id}",
GL_USERNAME: user.username,
GL_REPOSITORY: "wiki-#{project.id}",
+ RepoPath: repo_path,
ShowAllRefs: false
}
end