mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fixing mailer generators to use the right email address
This commit is contained in:
parent
beda2d43d6
commit
458b6a7fc9
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ class <%= class_name %>Test < ActionMailer::TestCase
|
|||
<% for action in actions -%>
|
||||
test "<%= action %>" do
|
||||
@expected.subject = <%= action.to_s.humanize.inspect %>
|
||||
@expected.to = "to@example.com"
|
||||
@expected.to = "to@example.org"
|
||||
@expected.from = "from@example.com"
|
||||
@expected.body = read_fixture("<%= action %>")
|
||||
@expected.date = Time.now
|
||||
|
|
Loading…
Reference in a new issue