mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-08-05 17:09:39 +02:00
@@ -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 /');
|
||||
|
||||
Reference in New Issue
Block a user