Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/grunt-bootlint.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorZac Echola <zac.echola@so.mnscu.edu>2014-11-10 20:38:10 +0300
committerZac Echola <zac.echola@so.mnscu.edu>2014-11-10 20:38:10 +0300
commitc857146f19298a9bca2b702661fbd1269178583e (patch)
treecb6863e3748632f30a6e17da676e451cfd93e5fb /test
parentf0345e155b8d06bf34199d2370746e9289ebed9b (diff)
displays message when files pass
Diffstat (limited to 'test')
-rw-r--r--test/bootlint_test.js11
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();
+ });
}
};