diff options
author | Ash McKenzie <amckenzie@gitlab.com> | 2018-09-25 14:26:35 +0000 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2018-09-25 14:26:35 +0000 |
commit | 5f12a6a41a46800841ba02e72a6a4eb6d5e129ae (patch) | |
tree | 990d233c522bfbcba0a1000ce6d31e4b078fd8aa /spec/gitlab_shell_spec.rb | |
parent | dd54651b987c473fc42ae6c81daf0a47a92f9dca (diff) | |
download | gitlab-shell-5f12a6a41a46800841ba02e72a6a4eb6d5e129ae.tar.gz |
Display helpful feedback when proxying an SSH git push to secondary request (v2)
Diffstat (limited to 'spec/gitlab_shell_spec.rb')
-rw-r--r-- | spec/gitlab_shell_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/gitlab_shell_spec.rb b/spec/gitlab_shell_spec.rb index 77fb6cd..eef572e 100644 --- a/spec/gitlab_shell_spec.rb +++ b/spec/gitlab_shell_spec.rb @@ -25,7 +25,7 @@ describe GitlabShell do let(:gitaly_check_access) do GitAccessStatus.new( true, - HTTPCodes::HTTP_SUCCESS, + '200', 'ok', gl_repository: gl_repository, gl_id: gl_id, @@ -41,7 +41,7 @@ describe GitlabShell do allow(api).to receive(:discover).and_return({ 'name' => 'John Doe', 'username' => 'testuser' }) allow(api).to receive(:check_access).and_return(GitAccessStatus.new( true, - HTTPCodes::HTTP_SUCCESS, + '200', 'ok', gl_repository: gl_repository, gl_id: gl_id, @@ -262,7 +262,7 @@ describe GitlabShell do let(:custom_action_gitlab_access_status) do GitAccessStatus.new( true, - HTTPCodes::HTTP_MULTIPLE_CHOICES, + '300', 'Multiple Choices', payload: fake_payload ) |