diff options
author | Francisco Lopez <fjlopez@gitlab.com> | 2017-11-17 13:33:21 +0100 |
---|---|---|
committer | Francisco Lopez <fjlopez@gitlab.com> | 2017-11-17 13:33:21 +0100 |
commit | 4188c10c07d7b9bfaee5046ecfcc88cf8cca456b (patch) | |
tree | fce91b81fe42eb741fd3087e97a0449ba5efdcbe /spec | |
parent | 7f0317917a6684189b1637ea73f90d258e8a72b6 (diff) | |
download | gitlab-ce-4188c10c07d7b9bfaee5046ecfcc88cf8cca456b.tar.gz |
Renaming AuthenticationException to AuthenticationErrormk-add-user-rate-limits
Diffstat (limited to 'spec')
-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 b7348f5cd78..ffcd90b9fcb 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 API::APIGuard::AuthenticationException exceptions' do + it 'rescue Gitlab::Auth::AuthenticationError exceptions' do allow_any_instance_of(described_class).to receive(:find_user_from_access_token).and_raise(Gitlab::Auth::UnauthorizedError) expect(subject.find_sessionless_user).to be_blank |