From cda1999b2a56051c824fbf114f5b2cd408c1b273 Mon Sep 17 00:00:00 2001 From: Frank Pavageau Date: Wed, 24 Jul 2019 14:46:08 +0200 Subject: [PATCH] Fix the name of 2 tests on plugins behavior --- tests/plugins-behavior.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/plugins-behavior.js b/tests/plugins-behavior.js index 866f39d..39d60d5 100644 --- a/tests/plugins-behavior.js +++ b/tests/plugins-behavior.js @@ -28,7 +28,7 @@ describe('plugin behavior', () => { }); }); - it('will provide three arguments to in req, res, data, next format', (done) => { + it('will provide four arguments to in req, res, data, next format', (done) => { var plugins = { 'ondata_request': function(req, res, data, next) { assert.equal(req, 'foo'); @@ -51,7 +51,7 @@ describe('plugin behavior', () => { }); }); - it('will provide three arguments to in req, res, targetRes, data, next format', (done) => { + it('will provide five arguments to in req, res, targetRes, data, next format', (done) => { var plugins = { 'ondata_request': function(req, res, targetResponse, data, next) { assert.equal(req, 'foo');