Patch #34169 ยป fix_test_post_new.patch
| test/functional/messages_controller_test.rb | ||
|---|---|---|
|
assert_mail_body_match 'Message body', mail
|
||
|
end
|
||
|
bcc_email_addresses = mails.map(&:bcc).flatten
|
||
|
# author
|
||
|
assert_equal ['jsmith@somenet.foo'], mails[0].bcc
|
||
|
assert_includes bcc_email_addresses, 'jsmith@somenet.foo'
|
||
|
# project member
|
||
|
assert_equal ['dlopper@somenet.foo'], mails[1].bcc
|
||
|
assert_includes bcc_email_addresses, 'dlopper@somenet.foo'
|
||
|
end
|
||
|
def test_get_edit
|
||