Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

…t accordingly
  • Loading branch information...
commit e718aa1040a85ef2d10e3511da99b1695747d3ea 1 parent e861cc8
Kevin Williams kevwil authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 test/form.test.js
4 test/form.test.js
@@ -128,7 +128,7 @@ exports['test urlencoded'] = function(assert){
128 128
129 129 exports['test bodyDecoder'] = function(assert){
130 130 var server = connect.createServer(
131   - connect.bodyDecoder(),
  131 + connect.bodyParser(),
132 132 form(),
133 133 function(req, res){
134 134 res.writeHead(200, {});
@@ -145,4 +145,4 @@ exports['test bodyDecoder'] = function(assert){
145 145 assert.response(server,
146 146 { url: '/', method: 'POST', data: body, headers: headers },
147 147 { body: '{"foo":"bar"}' });
148   -};
  148 +};

0 comments on commit e718aa1

Please sign in to comment.
Something went wrong with that request. Please try again.