added Mailer and initial tests
now really added Mailer and initial tests
added mail interceptor in dev
all tests are passing here, but the follower notification is turned off, not sure what's going on
follower notification are being sent in text format. Still have problem with testing hte HTML format so removed it for now
I can't make the 'unfollow' test work, either directly in the user_spec or as an integration spec in user_pages_spec. The test is right, when i look at the test log i see that indeed no email is sent, but in production emails are being sent upon unfollow.
fixed email tests by adding a very small sleep
follow and unfollow email tests are working, most of the time :(
fix sample data user_id to match email