mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix time comparison. Mail#date returns DateTime not Time.
This commit is contained in:
parent
8c60acbea2
commit
187b3b0b48
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ class BaseTest < ActiveSupport::TestCase
|
|||
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',
|
||||
|
|
Loading…
Reference in a new issue