Skip to content

Commit

Permalink
fixed test, seems to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanGRomano committed Sep 11, 2014
1 parent d63697b commit ea01177
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@
"socket.io-client": "~1.0.4"
},
"dependencies": {
"debug": "^1.0.2"
"debug": "^2"
}
}
4 changes: 2 additions & 2 deletions spec-e2e/routing-spec.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -190,14 +190,14 @@ describe 'routing events', ->
next()

Given ->
@io = require('socket.io')(3004)
@io = require('socket.io')(3005)
@io.use @a
@io.on 'connect', (socket) ->
socket.on 'some event', ->
socket.emit 'some event', new Date

When (done) ->
@socket = require('socket.io-client').connect('ws://localhost:3004')
@socket = require('socket.io-client').connect('ws://localhost:3005')
@socket.on 'connect', =>
@a = 0
@socket.emit 'some event'
Expand Down

0 comments on commit ea01177

Please sign in to comment.