remove success field from json responses

This commit is contained in:
Matteo Pagliazzi
2015-11-23 21:04:21 +01:00
parent 093970b48a
commit 4a941deece
6 changed files with 1 additions and 21 deletions

View File

@@ -31,7 +31,6 @@ describe('response middleware', function() {
expect(res.status).to.be.calledWith(200);
expect(res.json).to.be.calledWith({
field: 1,
success: true,
});
});
@@ -45,7 +44,6 @@ describe('response middleware', function() {
expect(res.status).to.be.calledWith(403);
expect(res.json).to.be.calledWith({
field: 1,
success: false,
});
});
});