mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
568ed3beaa
Starting from Rails 4.2, calling MyMailer.some_method no longer result in an immediate call to MyMailer#some_method. Instead, a "lazy proxy" is returned (this is changed to support #deliver_later). As a quick hack to fix the test, calling #message (or anything, really) would force the Mailer object to be created and the method invoked. |
||
---|---|---|
.. | ||
invite_mailer_spec.rb | ||
test_mailer_spec.rb | ||
user_notifications_spec.rb | ||
version_mailer_spec.rb |