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
on 2012-11-07 14:43
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.