Forum: Ruby on Rails Message ID in mailer is different for same email in unit test

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
4db61a8047c7c26d078e874e267dff3e?d=identicon&s=25 Nathan Samson (Guest)
on 2012-11-07 14:43
(Received via mailing list)
Hi,

I have a problem writing unit tests for the mailer.

I posted it on https://github.com/rails/rails/issues/8128 where the bug
was
quickly closed, but no solution was given (only saying it was my
fault...).

So I am reposting here.

The main problem is that except for the Message ID (as far as I can see,
I
looked multiple times to the two differences in the string but they seem
to
match completely) two mails generated are  the same (but the unit tests
fails).
I followed this http://guides.rubyonrails.org/testing.html#unit-testing
guide.

If I am doing something wrong: please point it out to me.

Cheers,
Nathan
This topic is locked and can not be replied to.