RubyFlow The Ruby and Rails community linklog

Shoulda macros for testing ActionMailer

You’ve been missing some shoulda macros for your ActionMailer tests. Yes, the ones that let you say “should_have_to_recipient” or “should_have_subject”. The aptly named shoulda_action_mailer has those macros, and few more. It’s way incomplete in that you can’t expect parts or content types or other special things; but it’s a start. Add ‘em if you got ‘em (more macros that is).

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in