Skip to content

Commit

Permalink
[fix] Fix no-colors test
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalecki committed Mar 19, 2013
1 parent a98dcb0 commit 478e96d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/commands/no-colors-test.js
Expand Up @@ -5,15 +5,16 @@
*
*/

var assert = require('assert'),
var path = require('path'),
assert = require('assert'),
vows = require('vows'),
colors = require('colors'),
spawn = require('child_process').spawn;

vows.describe('jitsu/commands/no-colors').addBatch({
'when using the --no-colors flag': {
topic: function () {
var jitsu = spawn('jitsu', [ '--no-colors' ]),
var jitsu = spawn(path.join(__dirname, '..', '..', 'bin', 'jitsu'), [ '--no-colors' ]),
text = '',
callback = this.callback;

Expand Down

0 comments on commit 478e96d

Please sign in to comment.