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:
Diffstat (limited to 'spec/services/web_hook_service_spec.rb')
-rw-r--r--spec/services/web_hook_service_spec.rb13
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