Skip to content

Commit

Permalink
Fix rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
alextwoods committed Dec 4, 2024
1 parent d24bd82 commit fd19c95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/aws/rails/middleware/elastic_beanstalk_sqsd_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ module Middleware
context 'no capacity' do
it 'returns too many requests error' do
allow_any_instance_of(Concurrent::ThreadPoolExecutor).to receive(:post)
.and_raise Concurrent::RejectedExecutionError
.and_raise Concurrent::RejectedExecutionError

expect(response[0]).to eq(429)
end
Expand Down

0 comments on commit fd19c95

Please sign in to comment.