I have a problem writing unit tests for the mailer.
I posted it on https://github.com/rails/rails/issues/8128 where the bug
quickly closed, but no solution was given (only saying it was my
So I am reposting here.
The main problem is that except for the Message ID (as far as I can see,
looked multiple times to the two differences in the string but they seem
match completely) two mails generated are the same (but the unit tests
I followed this http://guides.rubyonrails.org/testing.html#unit-testing
If I am doing something wrong: please point it out to me.