diff options
Diffstat (limited to 'js/tests')
-rw-r--r-- | js/tests/services/businesslayer/feedbusinesslayerSpec.coffee | 2 | ||||
-rw-r--r-- | js/tests/services/businesslayer/folderbusinesslayerSpec.coffee | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/js/tests/services/businesslayer/feedbusinesslayerSpec.coffee b/js/tests/services/businesslayer/feedbusinesslayerSpec.coffee index 6061d8767..1c9168a4d 100644 --- a/js/tests/services/businesslayer/feedbusinesslayerSpec.coffee +++ b/js/tests/services/businesslayer/feedbusinesslayerSpec.coffee @@ -335,7 +335,7 @@ describe 'FeedBusinessLayer', -> it 'should create an import article request', => callback = jasmine.createSpy('called') @persistence.importArticles = jasmine.createSpy('importArticles') - @persistence.importArticles.andCallFake (data, onSuccess) => + @persistence.importArticles.andCallFake (data, onSuccess) -> onSuccess() json = {"test": "hi"} diff --git a/js/tests/services/businesslayer/folderbusinesslayerSpec.coffee b/js/tests/services/businesslayer/folderbusinesslayerSpec.coffee index 3b4115e60..55914ab4c 100644 --- a/js/tests/services/businesslayer/folderbusinesslayerSpec.coffee +++ b/js/tests/services/businesslayer/folderbusinesslayerSpec.coffee @@ -372,7 +372,7 @@ describe 'FolderBusinessLayer', -> it 'should import nested folders', => @persistence.createFolder = jasmine.createSpy('create folder') - @persistence.createFolder.andCallFake (name, parentId, onSuccess) => + @persistence.createFolder.andCallFake (name, parentId, onSuccess) -> data = data: folders: [ |