madhums/node-express-mongoose-demo — pull request #93 by samshiles (2013-12-31 11:32:12+00:00)
Title: Clean up tests and validation

Hi,

I really like your coding style, some of the easiest to read and understand node code I've seen in terms of style and clarity.

I've made a few changes to remove warnings from the tests, get the validation to show the correct message, get the tests to pass and tidy up the user validation.

I hope you approve of the changes.

Cheers
Sam