In order to assert that a mailer sent a message, we can look at Hanami::Mailer.deliveries. It’s an array of messages that the framework pretended to deliver during a test. Please make sure to clear them in testing setup.