Konquest/accounts — pull request #1 by kennethklee (2013-12-15 05:07:39+00:00)
Title: Tests/user

- Added a whole bunch more tests. (we're now at 90%)
- Renamed test fixtures to dummies.js (since test fixtures should be already in test db, and really we're just using it for fake data)
- Refactored dummies.js; created a new fake user function instead of creating multiple users manually.
- Reordered integration testing first, since it initializes the connection to the database. Unit tests can then take advantage of that connection.
- Refactored clearing data. Clear data once before integration tests and once before unit tests. Technically we should be blowing it away for each unit tests. We'll get there...