This project is archived and is in readonly mode.

#3780 ✓resolved
Mikel Lindsaar

ActionMailer generates incorrect functional tests

Reported by Mikel Lindsaar | January 24th, 2010 @ 08:09 AM | in 3.0.2

ActionMailer generators create incorrect functional tests:

assert_equal @expected.encoded, OrderMailer.create_sent(

This was using #encoded before, but this is incorrect and was done to handle a TMail short-coming.

assert_equal @expected, OrderMailer.create_sent(

Tests the same thing and will work (as mail will ignore a diff on message-id if EVERYTHING else is the same.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>

People watching this ticket