Permalink
Browse files

Merge pull request #17 from bthesorceror/master

Fixed deprecation warning
  • Loading branch information...
2 parents b2a2674 + 69e9572 commit 3c8719feb642f5192122122dbb309107c0fd82a1 Marcin Bunsch committed May 15, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/jessie/runner.js
View
@@ -6,10 +6,10 @@ exports.runner = function(args, options, callback) {
var specs = this.finder.find(args, process.cwd())
var runner = this;
var spec_helper = process.cwd() + '/spec/spec_helper.js'
- if (require('path').existsSync(spec_helper))
+ if (require('fs').existsSync(spec_helper))
require(spec_helper)
specs.forEach(function(spec) { require(spec); })
this.jasmine.reporter = this.reporter
this.jasmine.execute()
}
-}
+}

0 comments on commit 3c8719f

Please sign in to comment.