<br><br><div><span class="gmail_quote">On 9/11/07, <b class="gmail_sendername">s.ross</b> &lt;<a href="mailto:cwdinfo@gmail.com">cwdinfo@gmail.com</a>&gt; 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&#39;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>&nbsp;&nbsp; As a registered user
<br>&nbsp;&nbsp; I want to be able to reset the password and have it emailed to me<br>&nbsp;&nbsp; And then I want to log in<br><br><br>Scenario: Reset password for an account<br><br>&nbsp;&nbsp; Given A valid account is given:&nbsp;&nbsp;<a href="mailto:joe@schmoe.com">
joe@schmoe.com</a><br><br>&nbsp;&nbsp; When Resetting password for <a href="mailto:joe@schmoe.com">joe@schmoe.com</a><br><br>&nbsp;&nbsp; Then Password state should change in database <a href="mailto:joe@schmoe.com">joe@schmoe.com</a><br>&nbsp;&nbsp; And Registered user should be redirected to login screen
<br>&nbsp;&nbsp; And Email should be sent to the registered user<br>&nbsp;&nbsp; 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&nbsp; you end up coming up with a solution?
<br><br>-Daniel<br></div><br></div><br>