Skip to content

Commit

Permalink
Fixed tests. All 250 passing.
Browse files Browse the repository at this point in the history
  • Loading branch information
rauchg committed Feb 26, 2012
1 parent ddd7f80 commit 47cfa5a
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion test/io.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Test dependencies.
*/

var sio = require('socket.io')
var sio = require('../')
, fs = require('fs')
, http = require('http')
, https = require('https')
Expand Down
2 changes: 1 addition & 1 deletion test/manager.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Test dependencies.
*/

var sio = require('socket.io')
var sio = require('../')
, http = require('http')
, should = require('./common')
, ports = 15100;
Expand Down
2 changes: 1 addition & 1 deletion test/parser.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Test dependencies.
*/

var parser = require('socket.io').parser
var parser = require('../').parser
, decode = parser.decode
, should = require('./common');

Expand Down
2 changes: 1 addition & 1 deletion test/static.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Test dependencies.
*/

var sio = require('socket.io')
var sio = require('../')
, should = require('./common')
, ports = 15400;

Expand Down
2 changes: 1 addition & 1 deletion test/stores.memory.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @api private
*/

var sio = require('socket.io')
var sio = require('../')
, should = require('should')
, MemoryStore = sio.MemoryStore;

Expand Down
2 changes: 1 addition & 1 deletion test/stores.redis.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @api private
*/

var sio = require('socket.io')
var sio = require('../')
, redis = require('redis')
, should = require('should')
, RedisStore = sio.RedisStore;
Expand Down
2 changes: 1 addition & 1 deletion test/transports.flashsocket.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Test dependencies.
*/

var sio = require('socket.io')
var sio = require('../')
, net = require('net')
, http = require('http')
, should = require('./common')
Expand Down
2 changes: 1 addition & 1 deletion test/transports.htmlfile.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Test dependencies.
*/

var sio = require('socket.io')
var sio = require('../')
, should = require('./common')
, HTTPClient = should.HTTPClient
, parser = sio.parser
Expand Down
2 changes: 1 addition & 1 deletion test/transports.jsonp-polling.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Test dependencies.
*/

var sio = require('socket.io')
var sio = require('../')
, should = require('./common')
, qs = require('querystring')
, HTTPClient = should.HTTPClient
Expand Down
2 changes: 1 addition & 1 deletion test/transports.websocket.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Test dependencies.
*/

var sio = require('socket.io')
var sio = require('../')
, should = require('./common')
, parser = sio.parser
, ports = 15800;
Expand Down

0 comments on commit 47cfa5a

Please sign in to comment.