diff --git a/projects/aca-content/src/lib/components/details/details.component.spec.ts b/projects/aca-content/src/lib/components/details/details.component.spec.ts index c4afd36b89..e22719d85b 100644 --- a/projects/aca-content/src/lib/components/details/details.component.spec.ts +++ b/projects/aca-content/src/lib/components/details/details.component.spec.ts @@ -133,7 +133,7 @@ describe('DetailsComponent', () => { expect(store.dispatch).toHaveBeenCalledWith(new SetSelectedNodesAction([node])); }); - it('should call updateNodeAspects when the button is clicked', () => { + it('should call updateNodeAspects when the aspect dialog is opened', () => { component.openAspectDialog(); fixture.detectChanges(); expect(nodeAspectService.updateNodeAspects).toHaveBeenCalledWith('test-id');