Forum: Ruby on Rails testing actionmailer from a controller

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

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?

Thanks

--
Parker T.
http://www.parkert.com/
510.541.0125
This topic is locked and can not be replied to.