Permalink
Browse files

[fix] Fix no-colors test

  • Loading branch information...
1 parent a98dcb0 commit 478e96db908e0183487bf5f1f950649fff4dcf12 @mmalecki mmalecki committed Mar 19, 2013
Showing with 3 additions and 2 deletions.
  1. +3 −2 test/commands/no-colors-test.js
View
5 test/commands/no-colors-test.js
@@ -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;

0 comments on commit 478e96d

Please sign in to comment.