1
0
Fork 0
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:
Mikel Lindsaar 2010-01-27 10:35:56 +11:00
parent beda2d43d6
commit 458b6a7fc9

View file

@ -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