mirror of
https://github.com/discourse/discourse.git
synced 2025-03-14 10:05:20 +08:00

We can only be sure that an email is sent when we get a mailer in `ActionMailer::Deliveries`. A couple of tests were actually incorrect because it didn't flow through our email sender where there are more conditions in determining whether an email is sent or not.