Skip to content

Commit bf9a973

Browse files
committed
fix(travis): Remove unicode stuff from file creation test expectations, and add nodejs 0.12 target
1 parent cde443d commit bf9a973

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

Diff for: .travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ language: node_js
22
node_js:
33
- '0.10'
44
- '0.11'
5+
- '0.12'
56
before_install:
67
- gem update --system
78
- gem install sass --version "=3.3.7"

Diff for: test/test-file-creation.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ describe('angular-fullstack generator', function () {
7373
this.timeout(60000);
7474
gen.run({}, function () {
7575
exec('grunt test:client', function (error, stdout, stderr) {
76-
expect(stdout, 'Client tests failed \n' + stdout ).to.contain('Executed 1 of 1\u001b[32m SUCCESS\u001b');
76+
expect(stdout, 'Client tests failed \n' + stdout ).to.contain('Executed 1 of 1 SUCCESS');
7777
done();
7878
});
7979
});
@@ -160,7 +160,7 @@ describe('angular-fullstack generator', function () {
160160
this.timeout(60000);
161161
gen.run({}, function () {
162162
exec('grunt test:client', function (error, stdout, stderr) {
163-
expect(stdout, 'Client tests failed \n' + stdout ).to.contain('Executed 1 of 1\u001b[32m SUCCESS\u001b');
163+
expect(stdout, 'Client tests failed \n' + stdout ).to.contain('Executed 1 of 1 SUCCESS');
164164
done();
165165
});
166166
});
@@ -206,7 +206,7 @@ describe('angular-fullstack generator', function () {
206206
this.timeout(60000);
207207
gen.run({}, function () {
208208
exec('grunt test:client', function (error, stdout, stderr) {
209-
expect(stdout, 'Client tests failed \n' + stdout ).to.contain('Executed 1 of 1\u001b[32m SUCCESS\u001b');
209+
expect(stdout, 'Client tests failed \n' + stdout ).to.contain('Executed 1 of 1 SUCCESS');
210210
done();
211211
});
212212
});
@@ -252,7 +252,7 @@ describe('angular-fullstack generator', function () {
252252
this.timeout(60000);
253253
gen.run({}, function () {
254254
exec('grunt test:client', function (error, stdout, stderr) {
255-
expect(stdout, 'Client tests failed \n' + stdout ).to.contain('Executed 1 of 1\u001b[32m SUCCESS\u001b');
255+
expect(stdout, 'Client tests failed \n' + stdout ).to.contain('Executed 1 of 1 SUCCESS');
256256
done();
257257
});
258258
});
@@ -298,7 +298,7 @@ describe('angular-fullstack generator', function () {
298298
this.timeout(60000);
299299
gen.run({}, function () {
300300
exec('grunt test:client', function (error, stdout, stderr) {
301-
expect(stdout, 'Client tests failed \n' + stdout ).to.contain('Executed 1 of 1\u001b[32m SUCCESS\u001b');
301+
expect(stdout, 'Client tests failed \n' + stdout ).to.contain('Executed 1 of 1 SUCCESS');
302302
done();
303303
});
304304
});

0 commit comments

Comments
 (0)