#251 api improvements (document list)

This commit is contained in:
Denys Vuika
2016-06-22 12:51:44 +01:00
parent 970c478d5b
commit 859827f7c1
4 changed files with 36 additions and 34 deletions

View File

@@ -240,7 +240,7 @@ describe('DocumentList', () => {
documentList.navigationMode = 'click';
documentList.onItemClick(node);
expect(documentList.displayFolderContent).toHaveBeenCalledWith(path);
expect(documentList.currentFolderPath).toBe(path);
});
it('should not display folder content when no target node provided', () => {