Please check the type of change your PR introduces:
[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Other (please describe):
Problem/feature
What problem are you trying to solve?
When a user visits the '/register' path they should see a form to register.
The form should include:
Name
Email (must be unique)
Register Button
Once the user registers they should be taken to a dashboard page '/users/:id', where :id is the id for the user that was just created.
Solution
How did you solve the problem?
-using mvc principles feature test for a fillable form when user visits register path
-tests capybara elements
-updates routes and creates a user controller that redirects a user to their show page after registering for an account
Still need include functionality to ensure the email is uniqueMerge own PR based on discussed merge conflicts
Other changes (e.g. bug fixes, UI tweaks, small refactors)
Checklist
[x] Code compiles correctly
[x] Tests for the changes have been added (for bug fixes/features)
[x] All tests passing
[ ] Extended the README / documentation, if necessary
Pull request type
Please check the type of change your PR introduces:
Problem/feature
What problem are you trying to solve? When a user visits the '/register' path they should see a form to register.
The form should include:
Name Email (must be unique) Register Button
Once the user registers they should be taken to a dashboard page '/users/:id', where :id is the id for the user that was just created.
Solution
How did you solve the problem? -using mvc principles feature test for a fillable form when user visits register path -tests capybara elements -updates routes and creates a user controller that redirects a user to their show page after registering for an account
Still need include functionality to ensure the email is unique Merge own PR based on discussed merge conflicts
Other changes (e.g. bug fixes, UI tweaks, small refactors)
Checklist