Skip to content

Commit

Permalink
Another attempt at fixing the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
carlbennettnz committed Sep 10, 2015
1 parent eb945c3 commit e75a991
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/integration/delete-resource/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,10 @@ describe("Delete Resource", () => {
it("should return 403", (done) => {
Agent.request("DEL", "/schools/53f54dd98d1e62ff12539db4")
.promise()
.then(done)
.catch((err) => {
.then(done, (err) => {
expect(err.status).to.equal(403);
done();
});
}).catch(done);
});
});
});

0 comments on commit e75a991

Please sign in to comment.