Permalink
Browse files

Merge pull request #18 from kevwil/master

fix test due to upstream middleware rename
  • Loading branch information...
2 parents e861cc8 + e718aa1 commit 1ef593ec2df69ef4cc87420ca0d88a81189b1a00 @tj tj committed Aug 15, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/form.test.js
View
@@ -128,7 +128,7 @@ exports['test urlencoded'] = function(assert){
exports['test bodyDecoder'] = function(assert){
var server = connect.createServer(
- connect.bodyDecoder(),
+ connect.bodyParser(),
form(),
function(req, res){
res.writeHead(200, {});
@@ -145,4 +145,4 @@ exports['test bodyDecoder'] = function(assert){
assert.response(server,
{ url: '/', method: 'POST', data: body, headers: headers },
{ body: '{"foo":"bar"}' });
-};
+};

0 comments on commit 1ef593e

Please sign in to comment.