diff options
author | Francisco Lopez <fjlopez@gitlab.com> | 2017-11-10 11:41:33 +0100 |
---|---|---|
committer | Francisco Lopez <fjlopez@gitlab.com> | 2017-11-17 10:02:11 +0100 |
commit | f1896575237cb92dce5a413bb6b6cc6474cbb19d (patch) | |
tree | 441e6f004dbd5ecadc9e2ec8bed5182bc7ffe105 /spec/lib/gitlab/auth | |
parent | 2d5397d928cfca222addb250085fe30c72215022 (diff) | |
download | gitlab-ce-f1896575237cb92dce5a413bb6b6cc6474cbb19d.tar.gz |
Added some more comments
Diffstat (limited to 'spec/lib/gitlab/auth')
-rw-r--r-- | spec/lib/gitlab/auth/request_authenticator_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/auth/request_authenticator_spec.rb b/spec/lib/gitlab/auth/request_authenticator_spec.rb index 2f01c6ef4de..4ddebed119f 100644 --- a/spec/lib/gitlab/auth/request_authenticator_spec.rb +++ b/spec/lib/gitlab/auth/request_authenticator_spec.rb @@ -58,7 +58,7 @@ describe Gitlab::Auth::RequestAuthenticator do expect(subject.find_sessionless_user).to be_blank end - it 'rescue StandardError exceptions' do + it 'rescue API::APIGuard::AuthenticationException exceptions' do allow_any_instance_of(described_class).to receive(:find_user_from_access_token).and_raise(API::APIGuard::UnauthorizedError) expect(subject.find_sessionless_user).to be_blank |