diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2013-12-20 17:30:51 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2013-12-20 17:30:51 +0100 |
commit | 0454021bc3e65dba6f2509498d0bcff26ff82a6d (patch) | |
tree | e47c19832f864a5d2a06e0edb66e2d23599510ef /js/tests/services/businesslayer/itembusinesslayerSpec.coffee | |
parent | 67daf1074702f8ee8e0720c6f864bc4b8eb3780c (diff) |
Revert "prevent multiple autopage requests, fix #201"
This reverts commit 67daf1074702f8ee8e0720c6f864bc4b8eb3780c.
Diffstat (limited to 'js/tests/services/businesslayer/itembusinesslayerSpec.coffee')
-rw-r--r-- | js/tests/services/businesslayer/itembusinesslayerSpec.coffee | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/js/tests/services/businesslayer/itembusinesslayerSpec.coffee b/js/tests/services/businesslayer/itembusinesslayerSpec.coffee index 9ac0a9e24..75804323d 100644 --- a/js/tests/services/businesslayer/itembusinesslayerSpec.coffee +++ b/js/tests/services/businesslayer/itembusinesslayerSpec.coffee @@ -264,19 +264,3 @@ describe 'ItemBusinessLayer', -> expect(@persistence.getNewItems).toHaveBeenCalledWith( @FeedType.Feed, 3, 4, callback) - - - it 'should autopage the next items if there are none', => - @NewestItem.handle(13) - @persistence.getItems = jasmine.createSpy('autopage') - callback = -> - - @ItemModel.add({id: 2, guidHash: 'abc', feedId: 2, status: 16}) - @ItemModel.add({id: 3, guidHash: 'abcd', feedId: 2, status: 16}) - @ItemModel.add({id: 1, guidHash: 'abce', feedId: 2, status: 16}) - @ItemModel.add({id: 6, guidHash: 'abcf', feedId: 2, status: 16}) - - @ItemBusinessLayer.loadNext(callback) - - expect(@persistence.getItems).toHaveBeenCalledWith( - @FeedType.Feed, 3, 1, jasmine.any(Function))
\ No newline at end of file |