Fixed that the mail method should return a Mail::Message (#15113).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12210 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2013-10-13 07:58:33 +00:00
parent c6c0491ad8
commit 176ce78574
2 changed files with 14 additions and 5 deletions
+4
View File
@@ -725,6 +725,10 @@ class MailerTest < ActiveSupport::TestCase
end
end
def test_mail_should_return_a_mail_message
assert_kind_of ::Mail::Message, Mailer.test_email(User.find(1))
end
private
def last_email