Skip to content

Commit

Permalink
Fix the name of 2 tests on plugins behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
fpavageau committed Jul 24, 2019
1 parent 88db242 commit 46875e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/plugins-behavior.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -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');
Expand Down

0 comments on commit 46875e7

Please sign in to comment.