summaryrefslogtreecommitdiff
path: root/spec/gitlab_access_spec.rb
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2019-02-16 07:04:15 -0800
committerStan Hu <stanhu@gmail.com>2019-02-16 07:39:14 -0800
commitebedab837012f844a47645f86412d3ec69aa2b4b (patch)
treeb27923bdc960d088901a97263ba75e868dbec0fb /spec/gitlab_access_spec.rb
parent015ff88ade79910d5c3dd7505b89a0659f2d6b24 (diff)
downloadgitlab-shell-ebedab837012f844a47645f86412d3ec69aa2b4b.tar.gz
Add support for using gl_project_pathsh-use-gl-project-path
This will enable us to track the human-readable project path with SSH access in gitlab-shell. Currently the Gitaly logs will only show the hashed storage and gl_repository path (e.g. project-1234).
Diffstat (limited to 'spec/gitlab_access_spec.rb')
-rw-r--r--spec/gitlab_access_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/gitlab_access_spec.rb b/spec/gitlab_access_spec.rb
index 92268e2..6c1d348 100644
--- a/spec/gitlab_access_spec.rb
+++ b/spec/gitlab_access_spec.rb
@@ -11,6 +11,7 @@ describe GitlabAccess do
'200',
'ok',
gl_repository: 'project-1',
+ gl_project_path: 'group/subgroup/project',
gl_id: 'user-123',
gl_username: 'testuser',
git_config_options: ['receive.MaxInputSize=10000'],
@@ -49,6 +50,7 @@ describe GitlabAccess do
'401',
'denied',
gl_repository: nil,
+ gl_project_path: nil,
gl_id: nil,
gl_username: nil,
git_config_options: nil,