Fixes a test that was broken by r2294.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2303 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2009-01-24 09:02:55 +00:00
parent 11346455a1
commit 51b745470c
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ class MessagesControllerTest < Test::Unit::TestCase
mail = ActionMailer::Base.deliveries.last
assert_kind_of TMail::Mail, mail
assert_equal "[#{message.board.project.name} - #{message.board.name}] Test created message", mail.subject
assert_equal "[#{message.board.project.name} - #{message.board.name} - msg#{message.root.id}] Test created message", mail.subject
assert mail.body.include?('Message body')
# author
assert mail.bcc.include?('jsmith@somenet.foo')