Message ID in mailer is different for same email in unit test

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs