aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/CHANGELOG.md
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2012-09-28 12:11:48 +0100
committerJon Leighton <j@jonathanleighton.com>2012-09-28 12:13:07 +0100
commit7e0cf563639bc7508da381b1b8321c7a89be1aa8 (patch)
tree8523ada77bfb8630cdc88520b6ae65b78a1afb11 /actionmailer/CHANGELOG.md
parentaa8918aecbc49f36faec4fa5d3d0efd7a4c9e889 (diff)
downloadrails-7e0cf563639bc7508da381b1b8321c7a89be1aa8.tar.gz
rails-7e0cf563639bc7508da381b1b8321c7a89be1aa8.tar.bz2
rails-7e0cf563639bc7508da381b1b8321c7a89be1aa8.zip
Support `Mailer.deliver_foo(*args)` as a synonym for `Mailer.foo(*args).deliver`.
This makes it easy to write e.g. `Mailer.expects(:deliver_foo)` when testing code that calls the mailer.
Diffstat (limited to 'actionmailer/CHANGELOG.md')
-rw-r--r--actionmailer/CHANGELOG.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/actionmailer/CHANGELOG.md b/actionmailer/CHANGELOG.md
index ed8ee89617..e29890f2d8 100644
--- a/actionmailer/CHANGELOG.md
+++ b/actionmailer/CHANGELOG.md
@@ -1,5 +1,10 @@
## Rails 4.0.0 (unreleased) ##
+* Support `Mailer.deliver_foo(*args)` as a synonym for
+ `Mailer.foo(*args).deliver`. This makes it easy to write e.g.
+ `Mailer.expects(:deliver_foo)` when testing code that calls
+ the mailer. *Jon Leighton*
+
* Allow delivery method options to be set per mail instance *Aditya Sanghi*
If your smtp delivery settings are dynamic,