This project is archived and is in readonly mode.
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(@expected.date).encoded
This was using #encoded before, but this is incorrect and was done to handle a TMail short-coming.
assert_equal @expected, OrderMailer.create_sent(@expected.date)
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
-
Mikel Lindsaar January 24th, 2010 @ 08:10 AM
- State changed from new to verified
I have patched my fork on commit #c9dc1ac. Will merge soon.
-
Mikel Lindsaar January 26th, 2010 @ 07:00 AM
- State changed from verified to resolved
Fixed in the merge of the new Action Mailer #abad09701 rails/rails
-
Jeremy Kemper October 15th, 2010 @ 11:01 PM
- Milestone set to 3.0.2
- Importance changed from to Low
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="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>