diff options
author | Nick Schonning <nschonni@gmail.com> | 2023-02-18 17:10:19 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-19 07:10:19 +0900 |
commit | 3680e032b43e9701c0bc1f3ed5238e58cd6b7ac8 (patch) | |
tree | 5b43508887a079727af5c70d4b2ba2557acde7db /spec/config | |
parent | 2177daeae92b77be6797ba8f2ab6ebe1e641e078 (diff) |
Autofix Rubocop RSpec/EmptyLineAfterFinalLet (#23707)
Diffstat (limited to 'spec/config')
-rw-r--r-- | spec/config/initializers/rack_attack_spec.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/config/initializers/rack_attack_spec.rb b/spec/config/initializers/rack_attack_spec.rb index 03695f5fd..6d603caa9 100644 --- a/spec/config/initializers/rack_attack_spec.rb +++ b/spec/config/initializers/rack_attack_spec.rb @@ -36,11 +36,13 @@ describe Rack::Attack do context 'for exact path' do let(:path) { '/auth' } + it_behaves_like 'throttled endpoint' end context 'for path with format' do let(:path) { '/auth.html' } + it_behaves_like 'throttled endpoint' end end @@ -51,6 +53,7 @@ describe Rack::Attack do context 'for exact path' do let(:path) { '/api/v1/accounts' } + it_behaves_like 'throttled endpoint' end @@ -71,11 +74,13 @@ describe Rack::Attack do context 'for exact path' do let(:path) { '/auth/sign_in' } + it_behaves_like 'throttled endpoint' end context 'for path with format' do let(:path) { '/auth/sign_in.html' } + it_behaves_like 'throttled endpoint' end end |