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

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