Permalink
Browse files

nodejs 0.8 change as suggested

  • Loading branch information...
1 parent 2456129 commit 7ffb9fa996fcb87c28cfa82b185008caa19f52e8 guybedford committed Dec 23, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 test/server.js
View
@@ -66,7 +66,11 @@ describe('app', function(){
// create a non-connect server
var server = http.createServer(execHandler).listen(5556, function(){
// test it out
- http.get('http://localhost:5556/', function(res){
+ http.get({
+ host: 'localhost',
+ port: 5556,
+ path: '/'
+ }, function(res){
res.setEncoding('utf8');
var data = '';
res.on('data', function(chunk){

0 comments on commit 7ffb9fa

Please sign in to comment.