Update error check

This commit is contained in:
Blade Barringer
2015-10-17 21:24:46 -05:00
parent 477fb8edcb
commit ab2b564a03
2 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ describe('DELETE /user', () => {
done('Unexpected user');
})
.catch((err) => {
expect(err.response.status).to.eql(401);
expect(err.code).to.eql(401);
done();
});
});