Forum: Ruby on Rails testing actionmailer from a controller

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Parker T. (Guest)
on 2006-06-06 02:44
(Received via mailing list)

Our application sends e-mail using a number of templates based on the
situation.  We would like to test that the appropriate template is
getting rendered based on the controller state.  assert_template would
work to test which template is being rendered to the browser.  But
this doesn't tell us which template was used to send the e-mail.
Anyone have a solution to this problem?


Parker T.
This topic is locked and can not be replied to.