diff options
author | Zac Echola <zac.echola@so.mnscu.edu> | 2014-11-10 20:38:10 +0300 |
---|---|---|
committer | Zac Echola <zac.echola@so.mnscu.edu> | 2014-11-10 20:38:10 +0300 |
commit | c857146f19298a9bca2b702661fbd1269178583e (patch) | |
tree | cb6863e3748632f30a6e17da676e451cfd93e5fb /test | |
parent | f0345e155b8d06bf34199d2370746e9289ebed9b (diff) |
displays message when files pass
Diffstat (limited to 'test')
-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(); + }); } }; |