Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

connect.bodyDecoder was renamed to connect.bodyParser, so fix the tes…

…t accordingly
  • Loading branch information...
commit e718aa1040a85ef2d10e3511da99b1695747d3ea 1 parent e861cc8
@kevwil kevwil authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/form.test.js
View
4 test/form.test.js
@@ -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"}' });
-};
+};
Please sign in to comment.
Something went wrong with that request. Please try again.