Skip to content

Commit

Permalink
Fixing mailer generators to use the right email address
Browse files Browse the repository at this point in the history
  • Loading branch information
mikel committed Jan 26, 2010
1 parent beda2d4 commit 458b6a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class <%= class_name %>Test < ActionMailer::TestCase
<% for action in actions -%> <% for action in actions -%>
test "<%= action %>" do test "<%= action %>" do
@expected.subject = <%= action.to_s.humanize.inspect %> @expected.subject = <%= action.to_s.humanize.inspect %>
@expected.to = "to@example.com" @expected.to = "to@example.org"
@expected.from = "from@example.com" @expected.from = "from@example.com"
@expected.body = read_fixture("<%= action %>") @expected.body = read_fixture("<%= action %>")
@expected.date = Time.now @expected.date = Time.now
Expand Down

0 comments on commit 458b6a7

Please sign in to comment.