3 class <%= class_name
%>Test
< ActionMailer
::TestCase
4 <% for action
in actions
-%>
5 test
"<%= action %>" do
6 @expected.subject
= '<%= class_name %>#<%= action %>'
7 @expected.body
= read_fixture('<%= action %>')
8 @expected.date
= Time
.now
10 assert_equal
@expected.encoded
, <%= class_name
%>.create_
<%= action
%>(@expected.date
).encoded
14 <% if actions
.blank
? -%>
15 # replace this with your real tests