From bf9a9737721d1ea72f3f7b9689d6781e78b4c606 Mon Sep 17 00:00:00 2001 From: Andrew Koroluk Date: Wed, 17 Jun 2015 00:58:48 -0400 Subject: [PATCH] fix(travis): Remove unicode stuff from file creation test expectations, and add nodejs 0.12 target --- .travis.yml | 1 + test/test-file-creation.js | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 85fbe4a6b..5434c4542 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,7 @@ language: node_js node_js: - '0.10' - '0.11' + - '0.12' before_install: - gem update --system - gem install sass --version "=3.3.7" diff --git a/test/test-file-creation.js b/test/test-file-creation.js index beb8b14b8..594dab05a 100644 --- a/test/test-file-creation.js +++ b/test/test-file-creation.js @@ -73,7 +73,7 @@ describe('angular-fullstack generator', function () { this.timeout(60000); gen.run({}, function () { exec('grunt test:client', function (error, stdout, stderr) { - expect(stdout, 'Client tests failed \n' + stdout ).to.contain('Executed 1 of 1\u001b[32m SUCCESS\u001b'); + expect(stdout, 'Client tests failed \n' + stdout ).to.contain('Executed 1 of 1 SUCCESS'); done(); }); }); @@ -160,7 +160,7 @@ describe('angular-fullstack generator', function () { this.timeout(60000); gen.run({}, function () { exec('grunt test:client', function (error, stdout, stderr) { - expect(stdout, 'Client tests failed \n' + stdout ).to.contain('Executed 1 of 1\u001b[32m SUCCESS\u001b'); + expect(stdout, 'Client tests failed \n' + stdout ).to.contain('Executed 1 of 1 SUCCESS'); done(); }); }); @@ -206,7 +206,7 @@ describe('angular-fullstack generator', function () { this.timeout(60000); gen.run({}, function () { exec('grunt test:client', function (error, stdout, stderr) { - expect(stdout, 'Client tests failed \n' + stdout ).to.contain('Executed 1 of 1\u001b[32m SUCCESS\u001b'); + expect(stdout, 'Client tests failed \n' + stdout ).to.contain('Executed 1 of 1 SUCCESS'); done(); }); }); @@ -252,7 +252,7 @@ describe('angular-fullstack generator', function () { this.timeout(60000); gen.run({}, function () { exec('grunt test:client', function (error, stdout, stderr) { - expect(stdout, 'Client tests failed \n' + stdout ).to.contain('Executed 1 of 1\u001b[32m SUCCESS\u001b'); + expect(stdout, 'Client tests failed \n' + stdout ).to.contain('Executed 1 of 1 SUCCESS'); done(); }); }); @@ -298,7 +298,7 @@ describe('angular-fullstack generator', function () { this.timeout(60000); gen.run({}, function () { exec('grunt test:client', function (error, stdout, stderr) { - expect(stdout, 'Client tests failed \n' + stdout ).to.contain('Executed 1 of 1\u001b[32m SUCCESS\u001b'); + expect(stdout, 'Client tests failed \n' + stdout ).to.contain('Executed 1 of 1 SUCCESS'); done(); }); });