RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: prashantham
Hi Ryan, This code last_email.to.should include(user.email) would check that last email was sent to the specified email. But how would you ensure that Password reset email was sent not any other email?
Hi Ryan,
This code last_email.to.should include(user.email) would check that last email was sent to the specified email. But how would you ensure that Password reset email was sent not any other email?