Merge pull request #1200 from meanjs/node5-support

Update Mocha
This commit is contained in:
Liran Tal
2016-02-12 00:41:22 +02:00
2 changed files with 3 additions and 3 deletions

View File

@@ -99,7 +99,7 @@ describe('User CRUD tests', function () {
// NodeJS v4 changed the status code representation so we must check
// before asserting, to be comptabile with all node versions.
if (process.version.indexOf('v4') === 0) {
if (process.version.indexOf('v4') === 0 || process.version.indexOf('v5') === 0) {
signoutRes.text.should.equal('Found. Redirecting to /');
} else {
signoutRes.text.should.equal('Moved Temporarily. Redirecting to /');