Testing async ActionMailer jobs with ActiveJob in Minitest
If you send mails via ActiveJob and use Minitest, here’s a bit of code that helps you test it: https://www.krautcomputing.com/blog/2015/11/22/testing-async-actionmailer-jobs-with-activejob-in-minitest/
Post a comment