Adds an helper to get the body of an email in tests.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9092 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2012-03-04 14:01:54 +00:00
parent 67d52acb84
commit df89c24e37
3 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -158,7 +158,7 @@ class Redmine::Hook::ManagerTest < ActiveSupport::TestCase
Mailer.deliver_issue_add(issue)
mail2 = ActionMailer::Base.deliveries.last
assert_equal mail.body, mail2.body
assert_equal mail_body(mail), mail_body(mail2)
end
def hook_helper