Permalink
Browse files

Base the spec directory location on the current working directory.

  • Loading branch information...
1 parent 6666bfc commit 33f87dff6b023064a59a149b8a1858b040232ea7 @craigw committed Dec 22, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 tacular.js
View
@@ -196,7 +196,7 @@ process.mixin(require('sys'));
puts(summary());
};
- var specDirectory = path.dirname("spec/");
+ var specDirectory = path.join(process.cwd(), 'spec/');
var files = posix.readdir(specDirectory).wait();
var i;
for(i = 0; i < files.length; i++) {

0 comments on commit 33f87df

Please sign in to comment.