Liran Tal
6db8a4e4fa
Major Fixing and Refactoring tests
...
1. Refactoring variables usage through-out the tests
2. Fixing correct error handler tests were previously these would report a false positive isue
3. Fixing recent unit tests to be added as part of the main save method suite
4. Fixing an issue with the tests which didn't clean the user1 entry in the db and so tests following it would fail regardless of the validation
5. Fixing one test to actually be valid use case
2015-08-26 22:54:08 +03:00
Cody B. Daig
5c287f583b
[fix] Was storing a 6 char password in plain text [ fixes #829 ]
2015-08-20 09:26:07 -07:00
Cody B. Daig
74f58bbbd6
[test] Allow an email with sub domains
2015-08-19 19:08:44 -07:00
Liran Tal
89050d5628
Adding suite of tests for the e-mail validation field in the users model
2015-08-13 21:56:19 +03:00
Liran Tal
463f5b944f
fixing up a user model test which was not setup correctly without the async done() callback, which led to false postivies. Adding timeouts to the test ensures that the test completes in time, otherwise mocha's 2s timeout will fail the test
2015-08-08 00:42:11 +03:00
Liran Tal
c967a98562
refactoring the async nature in the user model tests to account for mocha 2 second timeouts causing travis-ci build fails
2015-08-06 16:49:50 +03:00
Liran Tal
346ebd6a67
re-factoring the server model tests to create user model from schema only during tests, so that we can re-use mongodb's _v versioning fields, and also cleaning up user tests on each test iteration
2015-08-05 14:08:09 +03:00
Ryan Hutchison
ef3a3f9548
formatting reboot (space-2 and consistency)
...
JSCS fixes
update editorconfig
2015-07-31 10:04:02 -04:00
Liran Tal
ac35f0fec8
adding couple more tests to confirm users model works as expected
2015-07-24 09:38:49 +03:00
Julien Mazé
c572ed7eec
JSHint test failing because of missing semicolon
...
I just cloned the branch and both gulp and grunt fail on the lint task because of the missing semicolon.
2015-07-12 20:54:59 +02:00
Liran Tal
bf79c17bd0
updating the schema save pre hook so that it checks for a modified version of the password field before it tries to re-calculate the new password to save for the user model
2015-07-12 19:25:40 +03:00
Veikko Karsikko
1897ef985b
Wait for async saving and removing
2015-02-23 09:33:26 +02:00
Amos Haviv
ab81d61bd3
New 0.4 version
2014-11-10 23:12:33 +02:00