diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-11 20:56:23 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-11 20:56:23 +0200 |
commit | b06fc20ddbadbc7522cd23a83a20975f43889890 (patch) | |
tree | 252ddf454899920771466aa7d5b6376461c386e9 /js/tests/services/bl/feedblSpec.coffee | |
parent | ce6b20c59e1140867f2353361d3524e3baeb4580 (diff) |
allow users to discard folder and feed errors
Diffstat (limited to 'js/tests/services/bl/feedblSpec.coffee')
-rw-r--r-- | js/tests/services/bl/feedblSpec.coffee | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/js/tests/services/bl/feedblSpec.coffee b/js/tests/services/bl/feedblSpec.coffee index 40441f1b8..01ed7c18d 100644 --- a/js/tests/services/bl/feedblSpec.coffee +++ b/js/tests/services/bl/feedblSpec.coffee @@ -312,3 +312,11 @@ describe 'FeedBl', -> @response.msg) + it 'should mark a feed error as read by removing it', => + @FeedModel.add({id: 3, urlHash: 'john'}) + + @FeedBl.markErrorRead('john') + + expect(@FeedModel.size()).toBe(0) + expect(@FeedModel.getByUrlHash('john')).toBe(undefined) + |