From 30ec75fb0be01993d6aa941bed676e1d86b1672e Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Tue, 31 May 2016 12:23:20 +0100 Subject: [PATCH] Fix document list tests --- .../src/components/document-list.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ng2-components/ng2-alfresco-documentlist/src/components/document-list.spec.ts b/ng2-components/ng2-alfresco-documentlist/src/components/document-list.spec.ts index e4aebf1875..d5d32b9a38 100644 --- a/ng2-components/ng2-alfresco-documentlist/src/components/document-list.spec.ts +++ b/ng2-components/ng2-alfresco-documentlist/src/components/document-list.spec.ts @@ -140,7 +140,7 @@ describe('DocumentList', () => { spyOn(action, 'handler').and.stub(); documentList.executeContentAction(node, action); - expect(action.handler).toHaveBeenCalledWith(node); + expect(action.handler).toHaveBeenCalledWith(node, documentList); }); @@ -152,7 +152,7 @@ describe('DocumentList', () => { spyOn(action, 'handler').and.stub(); documentList.executeContentAction(null, action); - expect(action.handler).toHaveBeenCalledWith(null); + expect(action.handler).toHaveBeenCalledWith(null, documentList); }); it('should update current folder path', () => {