RailsCasts Pro episodes are now free!

Learn more or hide this

Prashanth Acharya M's Profile

GitHub User: prashantham

Comments by Prashanth Acharya M

Avatar

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?