fix failing tests

This commit is contained in:
Girish Ramakrishnan
2016-06-03 19:11:52 -07:00
parent 8fc44e6bc9
commit 5ebc29746d
2 changed files with 6 additions and 6 deletions

View File

@@ -518,7 +518,7 @@ describe('Apps', function () {
.end(function (error, result) {
expect(error).to.not.be.ok();
expect(result.statusCode).to.equal(200);
expect(result.body.expiresAt).to.be.a('number');
expect(new Date(result.body.expiresAt).toString()).to.not.be('Invalid Date');
expect(result.body.token).to.be.a('string');
// overwrite non dev token