diff options
Diffstat (limited to 'test/bootlint_test.js')
-rw-r--r-- | test/bootlint_test.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/bootlint_test.js b/test/bootlint_test.js index 0a5a781..73ebeb5 100644 --- a/test/bootlint_test.js +++ b/test/bootlint_test.js @@ -54,5 +54,16 @@ exports.bootlint = { 'Should print correct number of lint errors and files'); test.done(); }); + }, + pass: function(test) { + test.expect(1); + grunt.util.spawn({ + grunt: true, + args: ['bootlint:pass', '--no-color'], + }, function(err, result) { + test.ok(result.stdout.indexOf('1 file(s) lint free.') >= 0, + 'Should print correct number of lint free files'); + test.done(); + }); } }; |