Skip to content

Commit a6c4e8b

Browse files
author
Jordan Upiter
committed
Changed test route name
1 parent f13d2d8 commit a6c4e8b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/docsSpec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ describe('koa-resourcer-docs', function() {
117117
});
118118

119119
it('should not throw when a validate attribute is undefined', function* () {
120-
assert(html.indexOf('/badvalidate') > 0);
120+
assert(html.indexOf('/undefinedValidateProp') > 0);
121121
});
122122
});
123123
});

test/resources/router/partial/partial.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ r.get('/visible',
2525
}
2626
);
2727

28-
r.get('/badvalidate',
28+
r.get('/undefinedValidateProp',
2929
{
3030
meta: {
3131
description: 'Route with an undefined validate attribute'

0 commit comments

Comments
 (0)