Forum: Ruby on Rails ActionMailer test helpers

D83b63db79b42978fe35e120550ca180?d=identicon&s=25 akalyaev (Guest)
on 2012-11-14 14:36
(Received via mailing list)

I recently found these two helpers (assert_emails, assert_no_emails)
ActionMailer gem:

I wonder why they are not mentioned in the official documentation:


Are they deprecated ? Should I use them or better to stick with
'ActionMailer::Base.deliveries.size', +1 do` ?

Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.