提交 b3a0aed0 编写于 作者: J José Valim

Just assert for 'Hi' in generated mailer tests.

上级 395d6648
......@@ -7,7 +7,7 @@ class <%= class_name %>Test < ActionMailer::TestCase
assert_equal <%= action.to_s.humanize.inspect %>, mail.subject
assert_equal ["to@example.org"], mail.to
assert_equal ["from@example.com"], mail.from
assert_match "Hi, find me in app", mail.body.encoded
assert_match "Hi", mail.body.encoded
end
<% end -%>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册