aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
diff options
context:
space:
mode:
authorFrancesc Esplugas <francesc@intraducibles.com>2010-11-07 22:08:59 +0100
committerFrancesc Esplugas <francesc@intraducibles.com>2010-11-07 22:08:59 +0100
commite22ad7ae1da0e2a78aaa33c33b272a230d9e8d28 (patch)
tree2ab03902bad778f2d922d7f6575dc4b99cfa4144 /railties/guides
parentb591989b5ff472301ba0c99d41268e9682a0651f (diff)
downloadrails-e22ad7ae1da0e2a78aaa33c33b272a230d9e8d28.tar.gz
rails-e22ad7ae1da0e2a78aaa33c33b272a230d9e8d28.tar.bz2
rails-e22ad7ae1da0e2a78aaa33c33b272a230d9e8d28.zip
Fixes ActionMailer example error
Diffstat (limited to 'railties/guides')
-rw-r--r--railties/guides/source/action_mailer_basics.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/action_mailer_basics.textile b/railties/guides/source/action_mailer_basics.textile
index 2259061c30..41738827b2 100644
--- a/railties/guides/source/action_mailer_basics.textile
+++ b/railties/guides/source/action_mailer_basics.textile
@@ -492,7 +492,7 @@ class UserMailerTest < ActionMailer::TestCase
user = users(:some_user_in_your_fixtures)
# Send the email, then test that it got queued
- email = UserMailer.deliver_welcome_email(user)
+ email = UserMailer.welcome_email(user).deliver
assert !ActionMailer::Base.deliveries.empty?
# Test the body of the sent email contains what we expect it to