Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Email req #134

Merged
merged 3 commits into from
Apr 4, 2019
Merged

Email req #134

merged 3 commits into from
Apr 4, 2019

Conversation

jalena-penaligon
Copy link
Owner

@jalena-penaligon jalena-penaligon commented Apr 3, 2019

@hsmitha26 / @erin-king / @stiehlrod

Closes User Story 9 (#114)
"As a visitor
When I visit the user registration page
If I fill out the registration form
But include an email address already in the system
Then I am returned to the registration page
My details are not saved and I am not logged in
The form is filled in with all previous data except the email field and password fields
I see a flash message telling me the email address is already in use"

  • Created feature test for duplicate email submission
  • Updated form to pass a nil value for email
  • Updated form to display all error messages
  • All user registration tests passing

@erin-king
Copy link
Collaborator

Brilliant!

@erin-king erin-king merged commit b95478d into master Apr 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants