From d2479127ea36e0f97a08844a1aac115945d34a1c Mon Sep 17 00:00:00 2001 From: Sondre Nilsen Date: Sat, 28 May 2016 02:08:14 +0200 Subject: [PATCH] Didn't read the documentation... --- test/gulp.js | 4 ++-- test/uploading/aws.js | 4 ++-- test/uploading/ghpages.js | 4 ++-- test/uploading/no-uploading.js | 2 +- test/uploading/rsync.js | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/test/gulp.js b/test/gulp.js index 55fca11..529fa48 100644 --- a/test/gulp.js +++ b/test/gulp.js @@ -19,7 +19,7 @@ test('creates package.json', () => { }); test('package.json contains correct packages', () => { - assert.JSONFileContent('package.json', { // eslint-disable-line + assert.jsonFileContent('package.json', { devDependencies: { 'autoprefixer': '^6.2.3', 'browser-sync': '^2.11.0', @@ -58,7 +58,7 @@ test('does not create credentials files', () => { }); test('does not contain uploading packages', () => { - assert.noJSONFileContent('package.json', { + assert.noJsonFileContent('package.json', { devDependencies: { 'gulp-awspublish': '', 'concurrent-transform': '', diff --git a/test/uploading/aws.js b/test/uploading/aws.js index 1fab39e..dd99e70 100644 --- a/test/uploading/aws.js +++ b/test/uploading/aws.js @@ -19,7 +19,7 @@ test('creates package.json file', () => { }); test('contain correct uploading packages', () => { - assert.JSONFileContent('package.json', { // eslint-disable-line + assert.jsonFileContent('package.json', { devDependencies: { 'gulp-awspublish': '^3.2.0', 'concurrent-transform': '^1.0.0' @@ -28,7 +28,7 @@ test('contain correct uploading packages', () => { }); test('does not contain wrong uploading packages', () => { - assert.noJSONFileContent('package.json', { + assert.noJsonFileContent('package.json', { devDependencies: { 'gulp-rsync': '', 'gulp-gh-pages': '' diff --git a/test/uploading/ghpages.js b/test/uploading/ghpages.js index 62516a1..65e7bf2 100644 --- a/test/uploading/ghpages.js +++ b/test/uploading/ghpages.js @@ -19,7 +19,7 @@ test('creates package.json file', () => { }); test('contain correct uploading packages', () => { - assert.JSONFileContent('package.json', { // eslint-disable-line + assert.jsonFileContent('package.json', { devDependencies: { 'gulp-gh-pages': '^0.5.2' } @@ -27,7 +27,7 @@ test('contain correct uploading packages', () => { }); test('does not contain wrong uploading packages', () => { - assert.noJSONFileContent('package.json', { + assert.noJsonFileContent('package.json', { devDependencies: { 'gulp-awspublish': '', 'concurrent-transform': '', diff --git a/test/uploading/no-uploading.js b/test/uploading/no-uploading.js index 2e02792..a2d2ece 100644 --- a/test/uploading/no-uploading.js +++ b/test/uploading/no-uploading.js @@ -26,7 +26,7 @@ test('does not create credentials files', () => { }); test('does not contain uploading packages', () => { - assert.noJSONFileContent('package.json', { + assert.noJsonFileContent('package.json', { devDependencies: { 'gulp-awspublish': '', 'concurrent-transform': '', diff --git a/test/uploading/rsync.js b/test/uploading/rsync.js index fc26927..4318977 100644 --- a/test/uploading/rsync.js +++ b/test/uploading/rsync.js @@ -19,7 +19,7 @@ test('creates package.json file', () => { }); test('contain correct uploading packages', () => { - assert.JSONFileContent('package.json', { // eslint-disable-line + assert.jsonFileContent('package.json', { devDependencies: { 'gulp-rsync': '^0.0.6' } @@ -27,7 +27,7 @@ test('contain correct uploading packages', () => { }); test('does not contain wrong uploading packages', () => { - assert.noJSONFileContent('package.json', { + assert.noJsonFileContent('package.json', { devDependencies: { 'gulp-awspublish': '', 'concurrent-transform': '',