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
path: root/spec
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-09-27 19:24:49 +0300
committerRuben Davila <rdavila84@gmail.com>2016-09-28 18:26:30 +0300
commit05d85a81d31a816751e3bfd4f79dc2876e32c4b9 (patch)
tree948eb1607ab0ac2c9cfde8c4af68ea3b6349965f /spec
parentca3c6a46674b29686b75fc7a70d29a407d801d51 (diff)
Merge branch 'be-nice-to-docker-client' into 'master'
Be nice to Docker Clients talking to JWT/auth ## What does this MR do? Makes all errors returned by JWT endpoint to be docker-compatible. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/22465 See merge request !6536
Diffstat (limited to 'spec')
-rw-r--r--spec/requests/jwt_controller_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/jwt_controller_spec.rb b/spec/requests/jwt_controller_spec.rb
index 6b956e63004..f0ef155bd7b 100644
--- a/spec/requests/jwt_controller_spec.rb
+++ b/spec/requests/jwt_controller_spec.rb
@@ -39,7 +39,7 @@ describe JwtController do
subject! { get '/jwt/auth', parameters, headers }
- it { expect(response).to have_http_status(403) }
+ it { expect(response).to have_http_status(401) }
end
end
@@ -77,7 +77,7 @@ describe JwtController do
subject! { get '/jwt/auth', parameters, headers }
- it { expect(response).to have_http_status(403) }
+ it { expect(response).to have_http_status(401) }
end
end