on-internet
← Community

How to test rate limit in Rails?

Stack Overflow ·

How can I test with RSpec I'm using rate_limit method on my Rails 8 app? class SessionsController < ApplicationController rate_limit to: 10, within: 3.minutes, only: :create end

Comments

Sign in or sign up to comment and upvote.

No comments yet.