Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[v0.6 test] Remove `require.paths` and `sys` from tests

  • Loading branch information...
commit 12cbc46ddb8ced77637b39a2e841a0831d152511 1 parent 88e66db
@mmalecki mmalecki authored
Showing with 7 additions and 10 deletions.
  1. +7 −10 test/journey-test.js
View
17 test/journey-test.js
@@ -1,15 +1,12 @@
-var sys = require('sys'),
- http = require('http'),
- assert = require('assert'),
- path = require('path'),
- events = require('events'),
- url = require('url');
+var http = require('http'),
+ assert = require('assert'),
+ path = require('path'),
+ events = require('events'),
+ url = require('url');
var vows = require('vows');
-require.paths.unshift(__dirname, path.join(__dirname, '..'));
-
-var journey = require('lib/journey');
+var journey = require('../lib/journey');
var resources = {
"home": {
@@ -111,7 +108,7 @@ router.map(function (map) {
});
});
-var mock = require('lib/journey/mock-request').mock(router);
+var mock = require('../lib/journey/mock-request').mock(router);
var get = mock.get,
del = mock.del,
Please sign in to comment.
Something went wrong with that request. Please try again.