Skip to content

Commit 0f5d81d

Browse files
committed
Add extra test
1 parent cd061b5 commit 0f5d81d

File tree

1 file changed

+9
-0
lines changed
  • test/integration/delete-resource

1 file changed

+9
-0
lines changed

test/integration/delete-resource/index.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,15 @@ describe("Delete Resource", () => {
2020
done();
2121
}).catch(done);
2222
});
23+
24+
it("should have deleted the resource", (done) => {
25+
Agent.request("GET", "/organizations/54419d550a5069a2129ef255")
26+
.promise()
27+
.then(done, (err) => {
28+
expect(err.status).to.equal(404);
29+
done();
30+
}).catch(done);
31+
})
2332
});
2433

2534
describe("Invalid deletion", () => {

0 commit comments

Comments
 (0)