Permalink
Browse files

makes planet tests work outside a node_module directory

  • Loading branch information...
1 parent d995347 commit 38bcfcedb71afba1053bf07c822c970190eaca68 @thisconnect committed Jul 23, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/server/constructor.js
View
4 test/server/constructor.js
@@ -87,7 +87,7 @@ describe('Planet Server API: Constructor', function(){
server.listen(8102, 'localhost');
});
- it('should start planet without a http server and connect with a client', function(done){
+ it('should start planet without a http server and connect with a client', function(done){
var socket = io.listen(8103, {'log level': 1});
@@ -115,7 +115,7 @@ describe('Planet Server API: Constructor', function(){
it('should run the readme.md example', function(done){
// server
- var planet = require('planet'),
+ var planet = require('../../'),
socket = require('socket.io').listen(8104, {
'log level': 1
});

0 comments on commit 38bcfce

Please sign in to comment.