Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[fix] change the vows describe to accurately describe the test

  • Loading branch information...
commit dd1368f04c1f0d0e472a8a4b99d548d390341dd8 1 parent 91b371d
Jarrett Cruger jcrugzz authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 test/commands/no-colors-test.js
6 test/commands/no-colors-test.js
View
@@ -4,13 +4,13 @@
* (C) 2010, Nodejitsu Inc.
*
*/
-
+
var assert = require('assert'),
vows = require('vows'),
colors = require('colors'),
spawn = require('child_process').spawn;
-vows.describe('jitsu/commands/users').addBatch({
+vows.describe('jitsu/commands/no-colors').addBatch({
'when using the --no-colors flag': {
topic: function () {
var jitsu = spawn('jitsu', [ '--no-colors' ]),
@@ -26,7 +26,7 @@ vows.describe('jitsu/commands/users').addBatch({
jitsu.on('exit', function () {
callback(null, text);
});
-
+
},
'output does not contain ansi codes': function (text) {
assert.equal(text, colors.stripColors(text));
Please sign in to comment.
Something went wrong with that request. Please try again.