-
Notifications
You must be signed in to change notification settings - Fork 4
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
#162414161 validate user's input data #16
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44af1a6
to
54271a1
Compare
Maxfurry
previously approved these changes
Jan 17, 2019
54271a1
to
065f54b
Compare
codrex
suggested changes
Jan 17, 2019
065f54b
to
c2d63ec
Compare
c2d63ec
to
a87c7e9
Compare
a87c7e9
to
7a13acd
Compare
7a13acd
to
7562a4d
Compare
7562a4d
to
90191f2
Compare
90191f2
to
6102825
Compare
codrex
reviewed
Jan 18, 2019
codrex
reviewed
Jan 18, 2019
codrex
reviewed
Jan 18, 2019
codrex
reviewed
Jan 18, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice stuff.
Attend to the comments
6102825
to
d13ba4a
Compare
d13ba4a
to
99d4125
Compare
99d4125
to
3134feb
Compare
3134feb
to
5b51d9d
Compare
5b51d9d
to
cedf8d2
Compare
codrex
reviewed
Jan 19, 2019
cedf8d2
to
54caa06
Compare
54caa06
to
ca40b1d
Compare
ca40b1d
to
ca95d9c
Compare
ca95d9c
to
dd3c79b
Compare
codrex
reviewed
Jan 21, 2019
sinon.stub(res, 'status').returnsThis(); | ||
// sinon.stub(sendVerificationMail, 'sendVerificationMail'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove dead code
dd3c79b
to
64a642c
Compare
codrex
approved these changes
Jan 22, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
This PR validates users' input during signup
Description of Task to be completed?
It ensures that a user does enter invalid and blank input to our database, and if they try to input say a blank field, they will get a descriptive error message.
How should this be manually tested?
This can be manually tested by pulling the branch and running
db:migrate
npm install
to install all dependencies.db:migrate
npm test
What are the relevant pivotal tracker stories?
PT Link: https://www.pivotaltracker.com/story/show/162414160
Screenshots