summaryrefslogtreecommitdiff
path: root/spec/gitlab_shell_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/gitlab_shell_spec.rb')
-rw-r--r--spec/gitlab_shell_spec.rb6
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
)