Add mail test

This commit is contained in:
Girish Ramakrishnan
2018-01-21 00:06:08 -08:00
parent 04868f0983
commit 70fecb8a75
3 changed files with 54 additions and 51 deletions

View File

@@ -221,7 +221,7 @@ describe('Apps', function () {
describe('getters', function () {
it('cannot get invalid app', function (done) {
apps.get('nope', function (error, app) {
apps.get('nope', function (error) {
expect(error).to.be.ok();
expect(error.reason).to.be(AppsError.NOT_FOUND);
done();