提交 187b3b0b 编写于 作者: J Jeremy Kemper

Fix time comparison. Mail#date returns DateTime not Time.

上级 8c60acbe
......@@ -100,7 +100,7 @@ def custom_block(include_html=false)
end
test "mail() with bcc, cc, content_type, charset, mime_version, reply_to and date" do
@time = Time.now
@time = Time.now.beginning_of_day.to_datetime
email = BaseMailer.welcome(:bcc => 'bcc@test.lindsaar.net',
:cc => 'cc@test.lindsaar.net',
:content_type => 'multipart/mixed',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册