diff --git a/test/req.acceptsEncodings.js b/test/req.acceptsEncodings.js index c3693429..9f8973cd 100644 --- a/test/req.acceptsEncodings.js +++ b/test/req.acceptsEncodings.js @@ -10,8 +10,8 @@ describe('req', function(){ app.get('/', function (req, res) { res.send({ - gzip: req.acceptsEncoding('gzip'), - deflate: req.acceptsEncoding('deflate') + gzip: req.acceptsEncodings('gzip'), + deflate: req.acceptsEncodings('deflate') }) }) @@ -26,7 +26,7 @@ describe('req', function(){ app.get('/', function (req, res) { res.send({ - bogus: req.acceptsEncoding('bogus') + bogus: req.acceptsEncodings('bogus') }) })