aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators_test.rb
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 /railties/test/generators_test.rb
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 'railties/test/generators_test.rb')
0 files changed, 0 insertions, 0 deletions