diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-24 12:08:07 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-24 12:08:07 +0000 |
commit | b4e7d9d8392d80b20acd29959c51e488220fd1e2 (patch) | |
tree | cd29e5a568646dd0bee8140325b79ce6bde674b7 /spec/services | |
parent | 23b60ed2c1e1dc5598fe5d44425f2aac11024d01 (diff) | |
download | gitlab-ce-b4e7d9d8392d80b20acd29959c51e488220fd1e2.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/services')
-rw-r--r-- | spec/services/web_hook_service_spec.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/spec/services/web_hook_service_spec.rb b/spec/services/web_hook_service_spec.rb index 5f53d6f34d8..f9fa46a4fc8 100644 --- a/spec/services/web_hook_service_spec.rb +++ b/spec/services/web_hook_service_spec.rb @@ -418,19 +418,6 @@ RSpec.describe WebHookService do described_class.new(other_hook, data, :push_hooks).async_execute end end - - context 'when the feature flag is disabled' do - before do - stub_feature_flags(web_hooks_rate_limit: false) - end - - it 'queues a worker without tracking the call' do - expect(Gitlab::ApplicationRateLimiter).not_to receive(:throttled?) - expect_to_perform_worker(project_hook) - - service_instance.async_execute - end - end end context 'when hook has custom context attributes' do |