-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Description
What Ruby, Rails and RSpec versions are you using?
Ruby version: 2.6.6
Rails version: 6.0.2.2
RSpec version: 4.0.0
Observed behaviour
Integration tests that use ActiveJob are ignoring the configured queue adapter and instead use the built in test queue. In our case we're using Sidekiq and tests are failing when doing a delayed send with ActionMailer because emails are being queued up internally even though we've configured Sidekiq to run them inline.
This is similar to #2232 / #2242 but for integration tests. Related to rails/rails#37270
Expected behaviour
Integration tests should use the configured queue adapter.
Can you provide an example app?
https://github.com/gaffneyc/rails_email_deliveries
Instructions for running the test are in the README.
benoittgt, rossinkiwi, relf, eliblocks, irphilli and 2 more
Metadata
Metadata
Assignees
Labels
No labels