Updated

spec/support / rate_limiting.rb

A
9 lines of codes
0 methods
N/A complexity/method
2 churn
0.0 complexity
0 duplications
RSpec.configure do |config| config.before(:each) do RateLimit.create!( burst_rate: 10, burst_period: 60, sustained_rate: 20, sustained_period: 300, allowed_domains: "example.com", allowed_ips: "127.0.0.1" ) end end