<br><br><div><span class="gmail_quote">On 9/11/07, <b class="gmail_sendername">s.ross</b> <<a href="mailto:cwdinfo@gmail.com">cwdinfo@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have a story where the user resets the password [hey, this story<br>thing really rocks!]. It is expected that the password will change<br>and that the user will be redirected to a login screen. A side effect<br>is that the user will receive email with his/her new password.
<br><br>Where I'm stuck is in ascertaining whether mail was generated.<br><br>Any thoughts on how this might be accomplished?<br><br>Thanks<br><br>-----------------<br><br>Story: Reset the Password<br><br> As a registered user
<br> I want to be able to reset the password and have it emailed to me<br> And then I want to log in<br><br><br>Scenario: Reset password for an account<br><br> Given A valid account is given: <a href="mailto:joe@schmoe.com">
joe@schmoe.com</a><br><br> When Resetting password for <a href="mailto:joe@schmoe.com">joe@schmoe.com</a><br><br> Then Password state should change in database <a href="mailto:joe@schmoe.com">joe@schmoe.com</a><br> And Registered user should be redirected to login screen
<br> And Email should be sent to the registered user<br> And the new password should work :)<br>_______________________________________________</blockquote><div><br>Hi s.ross <br><br>I know this was a while ago that you asked this question, but did you end up coming up with a solution?
<br><br>-Daniel<br></div><br></div><br>