Project

General

Profile

Patch #34169 ยป fix_test_post_new.patch

Mizuki ISHIKAWA, 2020-10-26 07:39

View differences:

test/functional/messages_controller_test.rb
146 146
      assert_mail_body_match 'Message body', mail
147 147
    end
148 148

  
149
    bcc_email_addresses = mails.map(&:bcc).flatten
149 150
    # author
150
    assert_equal ['jsmith@somenet.foo'], mails[0].bcc
151
    assert_includes bcc_email_addresses, 'jsmith@somenet.foo'
151 152
    # project member
152
    assert_equal ['dlopper@somenet.foo'], mails[1].bcc
153
    assert_includes bcc_email_addresses, 'dlopper@somenet.foo'
153 154
  end
154 155

  
155 156
  def test_get_edit
    (1-1/1)