debian-mirror-gitlab/spec/support/rate_limiter.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
202 B
Ruby
Raw Normal View History

2023-01-13 00:05:48 +05:30
# frozen_string_literal: true
RSpec.configure do |config|
config.before(:each, :disable_rate_limiter) do
allow(Gitlab::ApplicationRateLimiter).to receive(:throttled?).and_return(false)
end
end