Permalink
Browse files

Using walkdir instead of findit means that this now works on windows.

  • Loading branch information...
kybernetikos authored and mhevery committed Mar 30, 2012
1 parent f3fb960 commit 0b91da1be957a36d10d2b33fb1f01b57d345c21b
Showing with 3 additions and 3 deletions.
  1. +2 −2 lib/jasmine-node/spec-collection.js
  2. +1 −1 package.json
@@ -1,4 +1,4 @@
-var findit = require('findit');
+var walkdir = require('walkdir');
var path = require('path');
var fs = require('fs');
var specs = [];
@@ -15,7 +15,7 @@ var createSpecObj = function(path, root) {
exports.load = function(loadpath, matcher) {
- var wannaBeSpecs = findit.sync(loadpath)
+ var wannaBeSpecs = walkdir.sync(loadpath)
for (var i = 0; i < wannaBeSpecs.length; i++) {
var file = wannaBeSpecs[i];
View
@@ -20,7 +20,7 @@
, "dependencies" : { "coffee-script" : ">=1.0.1"
, "jasmine-reporters" : ">=0.2.0"
, "requirejs" : ">=0.27.1"
- , "findit" : ">= 0.1.2"
+ , "walkdir" : ">= 0.0.1"
, "underscore" : ">= 1.3.1"
}
, "bin" : "bin/jasmine-node"

0 comments on commit 0b91da1

Please sign in to comment.