Merge remote-tracking branch 'parent/main' into kbtopic-remove-quote

This commit is contained in:
KMY 2025-04-26 08:37:43 +09:00
commit 3233caba60
3 changed files with 23 additions and 4 deletions

View file

@ -41,7 +41,7 @@ RSpec.describe Rack::Attack, type: :request do
end
shared_examples 'throttled endpoint' do
include_examples 'with throttled endpoint base'
it_behaves_like 'with throttled endpoint base'
context 'when the number of requests is lower than the limit' do
before do
@ -73,7 +73,7 @@ RSpec.describe Rack::Attack, type: :request do
end
shared_examples 'does not throttle endpoint' do
include_examples 'with throttled endpoint base'
it_behaves_like 'with throttled endpoint base'
context 'when the number of requests is lower than the limit' do
before do