From df1a5597d495db2aef9b70f2f3aab2523a098089 Mon Sep 17 00:00:00 2001 From: Matt Muller Date: Thu, 14 Nov 2024 19:10:39 -0500 Subject: [PATCH] Fix railtie test --- test/aws/rails/railtie_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/aws/rails/railtie_test.rb b/test/aws/rails/railtie_test.rb index f11bbb14..7237e8d1 100644 --- a/test/aws/rails/railtie_test.rb +++ b/test/aws/rails/railtie_test.rb @@ -77,7 +77,7 @@ module Rails Aws::Rails.add_sqsd_middleware(mock_rails_app) expect(mock_middleware_stack.count).to eq(1) - expect(mock_middleware_stack[0].inspect).to eq('Aws::ActiveJob::SQS::EBMiddleware') + expect(mock_middleware_stack[0].inspect).to eq('Aws::Rails::Middleware::ElasticBeanstalkSQSD') end it 'adds the middleware before SSL when force_ssl is true' do @@ -92,7 +92,7 @@ module Rails Aws::Rails.add_sqsd_middleware(mock_rails_app) expect(mock_middleware_stack.count).to eq(1) - expect(mock_middleware_stack[0].inspect).to eq('Aws::ActiveJob::SQS::EBMiddleware') + expect(mock_middleware_stack[0].inspect).to eq('Aws::Rails::Middleware::ElasticBeanstalkSQSD') end end