test

How to test Rails mailers using RSpec

ActionMailer module has been reconstructed in Rails 3 and mailers have their own subdirectory (app/mailers) since then. This blog post will demostrate how t...