Permalink
Browse files

Update test for empty files query.

  • Loading branch information...
connormanning committed Jul 5, 2017
1 parent d99e497 commit d6ef848a757d1d74fb20b5c9ca6ab1cc33e01cc0
Showing with 4 additions and 2 deletions.
  1. +4 −2 test/files.js
View
@@ -17,10 +17,12 @@ describe('files', () => {
});
});
it('400s empty searches', (done) => {
it('Returns the file count on empty searches', (done) => {
chai.request(server).get(resource + '/files')
.end((err, res) => {
res.should.have.status(400);
res.should.have.status(200);
res.body.should.be.a('number');
res.body.should.equal(8);
done();
});
});

0 comments on commit d6ef848

Please sign in to comment.