debian-mirror-gitlab/spec/support/rate_limiter.rb
2023-01-13 15:02:22 +05:30

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