mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-01 03:57:15 +00:00
git-svn-id: http://svn.redmine.org/redmine/trunk@21242 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
d91f644a14
commit
23487333a0
@ -159,10 +159,11 @@ class MessagesControllerTest < Redmine::ControllerTest
|
||||
assert_mail_body_match 'Message body', mail
|
||||
end
|
||||
|
||||
email_addresses = mails.map(&:to)
|
||||
# author
|
||||
assert_equal ['jsmith@somenet.foo'], mails[0].to
|
||||
assert_includes email_addresses, ['jsmith@somenet.foo']
|
||||
# project member
|
||||
assert_equal ['dlopper@somenet.foo'], mails[1].to
|
||||
assert_includes email_addresses, ['dlopper@somenet.foo']
|
||||
end
|
||||
|
||||
def test_get_edit
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user