Permalink
Browse files

Fixes #16 - yogi test works on windows with latest grover patch

  • Loading branch information...
davglass committed Nov 26, 2012
1 parent 0ecb51c commit 839ffa1f92e545722f76204f48c863abe3c1a7a6
Showing with 4 additions and 4 deletions.
  1. +3 −3 lib/cmds/test.js
  2. +1 −1 package.json
View
@@ -371,7 +371,7 @@ mods = {
self.options.tests = self.resolveTests();
self.options.tests.forEach(function(val, key) {
- self.options.tests[key] = val.replace(gbase, 'tests/');
+ self.options.tests[key] = val.replace(gbase, 'tests/').split(path.sep).join('/');
});
server.init(self.options);
server.port = port;
@@ -381,7 +381,7 @@ mods = {
});
},
startGrover: function() {
- var groverBin = path.join(__dirname, '../../node_modules/.bin/grover'),
+ var groverBin = path.join(__dirname, '../../node_modules/grover/bin/grover.js'),
gbase = path.join(git.findRoot(), '../'),
tests = this.resolveTests(),
self = this, grover;
@@ -391,7 +391,7 @@ mods = {
}
tests.forEach(function(val, key) {
- tests[key] = val.replace(gbase, 'tests/');
+ tests[key] = val.replace(gbase, 'tests/').split(path.sep).join('/');
});
if (this.coverage) {
View
@@ -7,7 +7,7 @@
"yogi": "./bin/yogi.js"
},
"dependencies": {
- "grover": "*",
+ "grover": "~0.1.4",
"yuidocjs": "~0.3.31",
"selleck": "*",
"yuitest": "*",

0 comments on commit 839ffa1

Please sign in to comment.