diff options
Diffstat (limited to 'js/tests')
-rw-r--r-- | js/tests/services/businesslayer/feedbusinesslayerSpec.coffee | 4 | ||||
-rw-r--r-- | js/tests/services/businesslayer/folderbusinesslayerSpec.coffee | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/js/tests/services/businesslayer/feedbusinesslayerSpec.coffee b/js/tests/services/businesslayer/feedbusinesslayerSpec.coffee index b18b47006..c15b2ed12 100644 --- a/js/tests/services/businesslayer/feedbusinesslayerSpec.coffee +++ b/js/tests/services/businesslayer/feedbusinesslayerSpec.coffee @@ -310,7 +310,7 @@ describe 'FeedBusinessLayer', -> @persistence.createFeed.andCallFake (folderName, parentId, success, failure) => @response = - msg: 'this is an error' + message: 'this is an error' failure(@response) @FeedBusinessLayer.create(' johns ', 0, onSuccess, onFailure) @@ -319,7 +319,7 @@ describe 'FeedBusinessLayer', -> expect(onFailure).toHaveBeenCalled() expect(@FeedModel.getByUrl('http://johns').error).toBe( - @response.msg) + @response.message) it 'should mark a feed error as read by removing it', => diff --git a/js/tests/services/businesslayer/folderbusinesslayerSpec.coffee b/js/tests/services/businesslayer/folderbusinesslayerSpec.coffee index 1d8431513..2c5c9bf2a 100644 --- a/js/tests/services/businesslayer/folderbusinesslayerSpec.coffee +++ b/js/tests/services/businesslayer/folderbusinesslayerSpec.coffee @@ -239,7 +239,7 @@ describe 'FolderBusinessLayer', -> @persistence.createFolder.andCallFake (folderName, parentId, success, onFailure) => @response = - msg: 'this is an error' + message: 'this is an error' onFailure(@response) @FolderBusinessLayer.create(' johns ', onSuccess, onFailure) @@ -247,7 +247,7 @@ describe 'FolderBusinessLayer', -> expect(onSuccess).not.toHaveBeenCalled() expect(onFailure).toHaveBeenCalled() - expect(@FolderModel.getByName('johns').error).toBe(@response.msg) + expect(@FolderModel.getByName('johns').error).toBe(@response.message) it 'should mark a folder error as read by removing it', => |