Skip to content

Commit 7e5b80a

Browse files
committed
Revert back from all the testing of the tests
1 parent abe1489 commit 7e5b80a

File tree

12 files changed

+69
-46
lines changed

12 files changed

+69
-46
lines changed

test/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ test.before(() => {
1919
.toPromise();
2020
});
2121

22-
test.serial('generates expected files', () => {
22+
test('generates expected files', () => {
2323
assert.file([
2424
'.editorconfig',
2525
'.gitignore',
@@ -33,7 +33,7 @@ test.serial('generates expected files', () => {
3333
]);
3434
});
3535

36-
test.serial('creates package.json correctly', () => {
36+
test('creates package.json correctly', () => {
3737
assert.file('package.json');
3838
[
3939
'"name": "jekyllized"',

test/boilerplate.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,23 @@ test.before(() => {
1515
.toPromise();
1616
});
1717

18-
test.serial('creates .editorconfig', () => {
18+
test('creates .editorconfig', () => {
1919
assert.file('.editorconfig');
2020
});
2121

22-
test.serial('creates .gitignore', () => {
22+
test('creates .gitignore', () => {
2323
assert.file('.gitignore');
2424
});
2525

26-
test.serial('creates .gitattributes', () => {
26+
test('creates .gitattributes', () => {
2727
assert.file('.gitattributes');
2828
});
2929

30-
test.serial('creates README.md', () => {
30+
test('creates README.md', () => {
3131
assert.file('README.md');
3232
});
3333

34-
test.serial('README is correct', () => {
34+
test('README is correct', () => {
3535
[
3636
'# README',
3737
'> This is a great README',

test/gulp.js

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ test.before(() => {
1010
.toPromise();
1111
});
1212

13-
test.serial('creates gulpfile', () => {
13+
test('creates gulpfile', () => {
1414
assert.file('gulpfile.js');
1515
});
1616

17-
test.serial('creates package.json', () => {
17+
test('creates package.json', () => {
1818
assert.file('package.json');
1919
});
2020

21-
test.serial('package.json contains correct packages', () => {
21+
test('package.json contains correct packages', () => {
2222
[
2323
'"autoprefixer": "^6.2.3"',
2424
'"browser-sync": "^2.11.0"',
@@ -50,7 +50,25 @@ test.serial('package.json contains correct packages', () => {
5050
});
5151
});
5252

53-
test.serial('contains default gulp tasks', () => {
53+
test('does not create credentials files', () => {
54+
assert.noFile([
55+
'aws-credentials.json',
56+
'rsync-credentials.json'
57+
]);
58+
});
59+
60+
test('does not contain uploading packages', () => {
61+
[
62+
'"gulp-awspublish"',
63+
'"concurrent-transform"',
64+
'"gulp-rsync"',
65+
'"gulp-gh-pages"'
66+
].forEach(pack => {
67+
assert.noFileContent('package.json', pack);
68+
});
69+
});
70+
71+
test('contains default gulp tasks', () => {
5472
[
5573
'clean:assets',
5674
'clean:images',
@@ -82,3 +100,8 @@ test.serial('contains default gulp tasks', () => {
82100
assert.fileContent('gulpfile.js', 'gulp.task(\'' + task);
83101
});
84102
});
103+
104+
test('does not contain deploy task', () => {
105+
assert.noFileContent('gulpfile.js', 'gulp.task(\'deploy\'');
106+
});
107+

test/jekyll.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,18 @@ test.before(() => {
1818
.toPromise();
1919
});
2020

21-
test.serial('creates Gemfile', () => {
21+
test('creates Gemfile', () => {
2222
assert.file('Gemfile');
2323
});
2424

25-
test.serial('creates _config.yml files', () => {
25+
test('creates _config.yml files', () => {
2626
assert.file([
2727
'_config.yml',
2828
'_config.build.yml'
2929
]);
3030
});
3131

32-
test.serial('creates src directory', () => {
32+
test('creates src directory', () => {
3333
assert.file([
3434
'src/404.html',
3535
'src/about.md',
@@ -40,7 +40,7 @@ test.serial('creates src directory', () => {
4040
]);
4141
});
4242

43-
test.serial('_config.yml contains the correct settings', () => {
43+
test('_config.yml contains the correct settings', () => {
4444
[
4545
'title: jekyllized',
4646
'description: Tests for Jekyllized',
@@ -54,7 +54,7 @@ test.serial('_config.yml contains the correct settings', () => {
5454
});
5555
});
5656

57-
test.serial('_config.build.yml contains the correct settings', () => {
57+
test('_config.build.yml contains the correct settings', () => {
5858
[
5959
'future: false',
6060
'show_drafts: false',
@@ -64,6 +64,6 @@ test.serial('_config.build.yml contains the correct settings', () => {
6464
});
6565
});
6666

67-
test.serial('fills out humans.txt correctly', () => {
67+
test('fills out humans.txt correctly', () => {
6868
assert.fileContent('src/humans.txt', 'Ola Nordmann -- <role> -- @');
6969
});

test/permalinks/date.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ test.before(() => {
1010
.toPromise();
1111
});
1212

13-
test.serial('sets date permalinks', () => {
13+
test('sets date permalinks', () => {
1414
assert.fileContent('_config.yml', 'permalink: date');
1515
});

test/permalinks/none.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ test.before(() => {
1010
.toPromise();
1111
});
1212

13-
test.serial('sets none permalinks', () => {
13+
test('sets none permalinks', () => {
1414
assert.fileContent('_config.yml', 'permalink: none');
1515
});

test/permalinks/ordinal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ test.before(() => {
1010
.toPromise();
1111
});
1212

13-
test.serial('sets ordinal permalinks', () => {
13+
test('sets ordinal permalinks', () => {
1414
assert.fileContent('_config.yml', 'permalink: ordinal');
1515
});
1616

test/permalinks/pretty.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ test.before(() => {
1010
.toPromise();
1111
});
1212

13-
test.serial('sets pretty permalinks', () => {
13+
test('sets pretty permalinks', () => {
1414
assert.fileContent('_config.yml', 'permalink: pretty');
1515
});

test/uploading/aws.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ test.before(() => {
1010
.toPromise();
1111
});
1212

13-
test.serial('creates gulpfile', () => {
13+
test('creates gulpfile', () => {
1414
assert.file('gulpfile.js');
1515
});
1616

17-
test.serial('creates package.json file', () => {
17+
test('creates package.json file', () => {
1818
assert.file('package.json');
1919
});
2020

21-
test.serial('contain correct uploading packages', () => {
21+
test('contain correct uploading packages', () => {
2222
[
2323
'"gulp-awspublish": "^3.0.1"',
2424
'"concurrent-transform": "^1.0.0"'
@@ -27,7 +27,7 @@ test.serial('contain correct uploading packages', () => {
2727
});
2828
});
2929

30-
test.serial('does not contain wrong uploading packages', () => {
30+
test('does not contain wrong uploading packages', () => {
3131
[
3232
'"gulp-rsync"',
3333
'"gulp-gh-pages"'
@@ -36,18 +36,18 @@ test.serial('does not contain wrong uploading packages', () => {
3636
});
3737
});
3838

39-
test.serial('contains deploy task', () => {
39+
test('contains deploy task', () => {
4040
assert.fileContent('gulpfile.js', '// \'gulp deploy\' -- reads from your AWS Credentials file, creates the correct');
4141
assert.fileContent('gulpfile.js', '// headers for your files and uploads them to S3');
4242
assert.fileContent('gulpfile.js', 'gulp.task(\'deploy\'');
4343
});
4444

45-
test.serial('does not contain wrong uploading tasks', () => {
45+
test('does not contain wrong uploading tasks', () => {
4646
assert.noFileContent('gulpfile.js', '// \'gulp deploy\' -- reads from your Rsync credentials file and incrementally');
4747
assert.noFileContent('gulpfile.js', '// uploads your site to your server');
4848
assert.noFileContent('gulpfile.js', '// \'gulp deploy\' -- pushes your dist folder to Github');
4949
});
5050

51-
test.serial('creates credentials file', () => {
51+
test('creates credentials file', () => {
5252
assert.file('aws-credentials.json');
5353
});

test/uploading/ghpages.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@ test.before(() => {
1010
.toPromise();
1111
});
1212

13-
test.serial('creates gulpfile', () => {
13+
test('creates gulpfile', () => {
1414
assert.file('gulpfile.js');
1515
});
1616

17-
test.serial('creates package.json file', () => {
17+
test('creates package.json file', () => {
1818
assert.file('package.json');
1919
});
2020

21-
test.serial('contain correct uploading packages', () => {
21+
test('contain correct uploading packages', () => {
2222
assert.fileContent('package.json', '"gulp-gh-pages": "^0.5.2"');
2323
});
2424

25-
test.serial('does not contain wrong uploading packages', () => {
25+
test('does not contain wrong uploading packages', () => {
2626
[
2727
'"gulp-awspublish"',
2828
'"concurrent-transform"',
@@ -32,12 +32,12 @@ test.serial('does not contain wrong uploading packages', () => {
3232
});
3333
});
3434

35-
test.serial('contains deploy function', () => {
35+
test('contains deploy function', () => {
3636
assert.fileContent('gulpfile.js', '// \'gulp deploy\' -- pushes your dist folder to Github');
3737
assert.fileContent('gulpfile.js', 'gulp.task(\'deploy\'');
3838
});
3939

40-
test.serial('does not contain the wrong uploading task', () => {
40+
test('does not contain the wrong uploading task', () => {
4141
assert.noFileContent('gulpfile.js', '// \'gulp deploy\' -- reads from your AWS Credentials file, creates the correct');
4242
assert.noFileContent('gulpfile.js', '// headers for your files and uploads them to S3');
4343
assert.noFileContent('gulpfile.js', '// \'gulp deploy\' -- reads from your Rsync credentials file and incrementally');

test/uploading/no-uploading.js renamed to test/uploading/none.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,22 @@ test.before(() => {
1010
.toPromise();
1111
});
1212

13-
test.serial('creates gulpfile', () => {
13+
test('creates gulpfile', () => {
1414
assert.file('gulpfile.js');
1515
});
1616

17-
test.serial('creates package.json file', () => {
17+
test('creates package.json file', () => {
1818
assert.file('package.json');
1919
});
2020

21-
test.serial('does not create credentials files', () => {
21+
test('does not create credentials files', () => {
2222
assert.noFile([
2323
'aws-credentials.json',
2424
'rsync-credentials.json'
2525
]);
2626
});
2727

28-
test.serial('does not contain uploading packages', () => {
28+
test('does not contain uploading packages', () => {
2929
[
3030
'"gulp-awspublish"',
3131
'"concurrent-transform"',
@@ -36,6 +36,6 @@ test.serial('does not contain uploading packages', () => {
3636
});
3737
});
3838

39-
test.serial('does not contain deploy task', () => {
39+
test('does not contain deploy task', () => {
4040
assert.noFileContent('gulpfile.js', 'gulp.task(\'deploy\'');
4141
});

test/uploading/rsync.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@ test.before(() => {
1010
.toPromise();
1111
});
1212

13-
test.serial('creates gulpfile', () => {
13+
test('creates gulpfile', () => {
1414
assert.file('gulpfile.js');
1515
});
1616

17-
test.serial('creates package.json file', () => {
17+
test('creates package.json file', () => {
1818
assert.file('package.json');
1919
});
2020

21-
test.serial('contain correct uploading packages', () => {
21+
test('contain correct uploading packages', () => {
2222
assert.fileContent('package.json', '"gulp-rsync": "^0.0.5"');
2323
});
2424

25-
test.serial('does not contain wrong uploading packages', () => {
25+
test('does not contain wrong uploading packages', () => {
2626
[
2727
'"gulp-awspublish"',
2828
'"concurrent-transform"',
@@ -32,18 +32,18 @@ test.serial('does not contain wrong uploading packages', () => {
3232
});
3333
});
3434

35-
test.serial('contains deploy function', () => {
35+
test('contains deploy function', () => {
3636
assert.fileContent('gulpfile.js', '// \'gulp deploy\' -- reads from your Rsync credentials file and incrementally');
3737
assert.fileContent('gulpfile.js', '// uploads your site to your server');
3838
assert.fileContent('gulpfile.js', 'gulp.task(\'deploy\'');
3939
});
4040

41-
test.serial('does not contain the wrong uploading task', () => {
41+
test('does not contain the wrong uploading task', () => {
4242
assert.noFileContent('gulpfile.js', '// \'gulp deploy\' -- reads from your AWS Credentials file, creates the correct');
4343
assert.noFileContent('gulpfile.js', '// headers for your files and uploads them to S3');
4444
assert.noFileContent('gulpfile.js', '// \'gulp deploy\' -- pushes your dist folder to Github');
4545
});
4646

47-
test.serial('creates credentials file', () => {
47+
test('creates credentials file', () => {
4848
assert.file('rsync-credentials.json');
4949
});

0 commit comments

Comments
 (0)