Skip to content

Commit

Permalink
Add extra test
Browse files Browse the repository at this point in the history
  • Loading branch information
carlbennettnz committed Sep 10, 2015
1 parent cd061b5 commit 0f5d81d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/integration/delete-resource/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ describe("Delete Resource", () => {
done();
}).catch(done);
});

it("should have deleted the resource", (done) => {
Agent.request("GET", "/organizations/54419d550a5069a2129ef255")
.promise()
.then(done, (err) => {
expect(err.status).to.equal(404);
done();
}).catch(done);
})
});

describe("Invalid deletion", () => {
Expand Down

0 comments on commit 0f5d81d

Please sign in to comment.