Sha256: 003d3a405984219e5e0df112095d514879c5a839b5ed65d41ff0095cbadfa421
Contents?: true
Size: 1.24 KB
Versions: 3
Compression:
Stored size: 1.24 KB
Contents
Feature: reset my password As an unlogged in user I want to reset my password Background: Given I am not logged in Scenario: Visit user pswd forgot When I am on the user pswd forgot page Then I should see the view "users/pswd_forgot_form" Then the "Your Email" field should be required Then the "Your Email" field should be blank Then I should see the "Login" link to the user login page Then I should see the "Reset Password" button Scenario: Enter an invalid email Given there are no "users" with "email" set to "bill@smith.com" Given I am on the user pswd forgot page Given I fill in "Your Email" with "bill@smith.com" When I press "Reset Password" Then I should be on the user pswd forgot page Then the error message should be "Could not reset password" Scenario: Enter a valid email Given there is a "user" with "email" set to "bill@smith.com" Given I am on the user pswd forgot page Given I fill in "Your Email" with "bill@smith.com" When I press "Reset Password" Then I should be on the user login page Then the success message should be "An email has been sent with the password reset details." Then warning "Test the outbound email is correct" # http://drnicwilliams.com/2009/03/26/testing-outbound-emails-with-cucumber/
Version data entries
3 entries across 3 versions & 1 rubygems