debian-mirror-gitlab/spec/support/rate_limiter.rb
2023-01-12 18:35:48 +00:00

7 lines
202 B
Ruby

# 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