diff --git a/spec/lib/auth/default_current_user_provider_spec.rb b/spec/lib/auth/default_current_user_provider_spec.rb index 39b84153f3b..9893401e3cc 100644 --- a/spec/lib/auth/default_current_user_provider_spec.rb +++ b/spec/lib/auth/default_current_user_provider_spec.rb @@ -202,6 +202,8 @@ RSpec.describe Auth::DefaultCurrentUserProvider do context "with rate limiting" do before { RateLimiter.enable } + use_redis_snapshotting + it "rate limits admin api requests" do global_setting :max_admin_api_reqs_per_minute, 3