diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-26 11:20:55 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-26 11:52:50 +0200 |
commit | f987751d8c5c7a3ee660411afb9d01e6a822aed5 (patch) | |
tree | 9eb35d0575c62648b7f50e6c94afb808366cf05c /js/tests/services/models/itemmodelSpec.coffee | |
parent | d947c35d05ddb12dad591d29a9b0f948c5f4f732 (diff) |
order by pubdate on the client side fix #115
Diffstat (limited to 'js/tests/services/models/itemmodelSpec.coffee')
-rw-r--r-- | js/tests/services/models/itemmodelSpec.coffee | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/js/tests/services/models/itemmodelSpec.coffee b/js/tests/services/models/itemmodelSpec.coffee index 2171f12ea..b4a74d122 100644 --- a/js/tests/services/models/itemmodelSpec.coffee +++ b/js/tests/services/models/itemmodelSpec.coffee @@ -102,12 +102,3 @@ describe 'ItemModel', -> item.setUnstarred() expect(@ItemModel.getById(3).isStarred()).toBe(false) - - - it 'should return the lowest id', => - @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}) - - expect(@ItemModel.getLowestId()).toBe(1)
\ No newline at end of file |