Skip to content

Commit 0ca2a60

Browse files
author
Mateus Garcia
committed
fix: test
1 parent 203b43f commit 0ca2a60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libs/json-api-nestjs/src/lib/decorators/json-api/json-api.decorator.spec.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ describe('InjectServiceDecorator', () => {
5252
);
5353
});
5454

55-
it('should save options in class and correctly set overrideName', () => {
55+
it('should save options in class and correctly set overrideRoute', () => {
5656
const testedEntity = class SomeEntity {};
5757
const apiOptions: DecoratorOptions = {
5858
allowMethod: ['getAll', 'deleteRelationship'],
59-
overrideName: '123'
59+
overrideRoute: '123'
6060
};
6161

6262
@JsonApi(testedEntity, apiOptions)

0 commit comments

Comments
 (0)