tests(apiv3): Remove incorrect tests

This commit is contained in:
Blade Barringer
2015-12-14 12:37:59 -06:00
parent 3857316a1e
commit 6709c83804
@@ -253,14 +253,6 @@ describe('POST /tasks/:id/score/:direction', () => {
});
});
it('decreases user\'s exp when direction is down', () => {
return api.post(`/tasks/${habit._id}/score/down`)
.then((res) => api.get(`/user`))
.then((updatedUser) => {
expect(updatedUser.stats.exp).to.be.lessThan(user.stats.exp);
});
});
it('increases user\'s gold when direction is up', () => {
return api.post(`/tasks/${habit._id}/score/up`)
.then((res) => api.get(`/user`))
@@ -268,14 +260,6 @@ describe('POST /tasks/:id/score/:direction', () => {
expect(updatedUser.stats.gp).to.be.greaterThan(user.stats.gp);
});
});
it('decreases user\'s gold when direction is down', () => {
return api.post(`/tasks/${habit._id}/score/down`)
.then((res) => api.get(`/user`))
.then((updatedUser) => {
expect(updatedUser.stats.gp).to.be.lessThan(user.stats.gp);
});
});
});
context('reward', () => {