mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Fixes ActionMailer example error
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user