Hi guys, now that we have mail preview in rails 4.1.0. Got a tut on how to make a good test for email?
I don’t see mail preview as something that helps you with your tests, but rather something that lets you inspect emails in your browser with some setup required to initialize the mailers.
I can test emails themselves by creating the mail and asserting against to, from, subject, body, etc. I test integration with the app by using email spec to check that email was delivered after some action.
Yep, already considered. I was thinking it wrong.
You can close this thread. Thanks