Refactor tests

This commit is contained in:
Jonathan Cremin 2015-08-22 18:43:30 +01:00
parent 7e88b3281e
commit 25a3dfc456
2 changed files with 5 additions and 3 deletions

View file

@ -12,7 +12,7 @@ describe('hostr-api user', function() {
.get('/api/user')
.auth('test@hostr.co', 'test-password')
.expect(function(response) {
assert(response.body.id === '54fd04a37675bcd06213eac8');
assert(response.body.email === 'test@hostr.co');
})
.expect(200)
.end(done);