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
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-11-04 09:09:13 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-11-04 09:09:13 +0300
commit8b210df3bdc0b61894fae95e9ff60a6a841ef0e1 (patch)
treedc89e8ad72519316781c9b2c355f46ca63c2e6c0 /spec/requests/rack_attack_global_spec.rb
parent09fe75d83726876b62f778ce7ef7a31752915d35 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/requests/rack_attack_global_spec.rb')
-rw-r--r--spec/requests/rack_attack_global_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/requests/rack_attack_global_spec.rb b/spec/requests/rack_attack_global_spec.rb
index 9fdafc06695..d4a8e64eb2e 100644
--- a/spec/requests/rack_attack_global_spec.rb
+++ b/spec/requests/rack_attack_global_spec.rb
@@ -125,7 +125,8 @@ RSpec.describe 'Rack Attack global throttles' do
env: :throttle,
remote_ip: '127.0.0.1',
request_method: 'GET',
- path: '/users/sign_in'
+ path: '/users/sign_in',
+ matched: 'throttle_unauthenticated'
}
expect(Gitlab::AuthLogger).to receive(:error).with(arguments)