Nathan Samson
2012-Nov-06 12:42 UTC
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 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/0ZI9Z6O1qQgJ. For more options, visit https://groups.google.com/groups/opt_out.
Reasonably Related Threads
- quotes in email address for mailer
- Action Mailer >> Hiding Receipients in the email templates
- Same .rhtml and partial in mailer and non-mailer contexts
- How to use two different sets of mailer templates for two different Devise models?
- URLs not working in Action:Mailer emails