spec/node.js in jspec-3.2.1 vs spec/node.js in jspec-3.3.0
- old
+ new
@@ -1,23 +1,9 @@
require.paths.unshift('./lib', './spec');
-process.mixin(require('sys'))
require("jspec")
require("unit/helpers")
-
-quit = process.exit
-print = puts
-
-readFile = function(path) {
- var result
- require('posix')
- .cat(path, "utf8")
- .addCallback(function(contents){ result = contents })
- .addErrback(function(){ throw new Error("failed to read file `" + path + "'") })
- .wait()
- return result
-}
JSpec
.exec('spec/unit/spec.js')
.exec('spec/unit/spec.utils.js')
.exec('spec/unit/spec.modules.js')
\ No newline at end of file