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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user