Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #416 from jcrugzz/no-colors-test-name

[fix] change the vows describe to accurately describe the test
  • Loading branch information...
commit 9b2789cb9beda031bdfaac12a94d8995e71322f4 2 parents 91b371d + dd1368f
@julianduque julianduque authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 test/commands/no-colors-test.js
View
6 test/commands/no-colors-test.js
@@ -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.