diff options
Diffstat (limited to 'test/functional/messages_controller_test.rb')
-rw-r--r-- | test/functional/messages_controller_test.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/functional/messages_controller_test.rb b/test/functional/messages_controller_test.rb index 88f3691e4..f5760b08f 100644 --- a/test/functional/messages_controller_test.rb +++ b/test/functional/messages_controller_test.rb @@ -159,11 +159,10 @@ class MessagesControllerTest < Redmine::ControllerTest assert_mail_body_match 'Message body', mail end - bcc_email_addresses = mails.map(&:bcc).flatten # author - assert_includes bcc_email_addresses, 'jsmith@somenet.foo' + assert_equal ['jsmith@somenet.foo'], mails[0].to # project member - assert_includes bcc_email_addresses, 'dlopper@somenet.foo' + assert_equal ['dlopper@somenet.foo'], mails[1].to end def test_get_edit |