Skip to content

Commit

Permalink
Fix railtie test
Browse files Browse the repository at this point in the history
  • Loading branch information
mullermp committed Nov 15, 2024
1 parent 1a56ab7 commit df1a559
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/aws/rails/railtie_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit df1a559

Please sign in to comment.