Shoulda, assert_sent_email and Unreal Users
I have been banging my head against a problem in my testing. Using the UI everything worked as expected, but my tests were failing when I tried to see if emails were being sent in…
I have been banging my head against a problem in my testing. Using the UI everything worked as expected, but my tests were failing when I tried to see if emails were being sent in…
Shoulda comes with a great method for testing email called ‘assert\_sent\_email’. (If you try it and get a method missing error update Shoulda. Not that anyone wouldn’t know to…