Actions
Patch #34169
closedMessagesControllerTest#test_post_new randomly fails
Description
MessagesControllerTest # test_post_new test fails (trunk)
Failure: MessagesControllerTest#test_post_new [/root/project/test/functional/messages_controller_test.rb:150]: Expected: ["jsmith@somenet.foo"] Actual: ["dlopper@somenet.foo"] bin/rails test test/functional/messages_controller_test.rb:121
There is no guarantee that the elements will be in the order of "first: author, second: member" in the array mails, so the test should be modified so that it does not depend on the order.
Files
Actions