diff options
Diffstat (limited to 'js/tests/services')
-rw-r--r-- | js/tests/services/bl/feedblSpec.coffee | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/js/tests/services/bl/feedblSpec.coffee b/js/tests/services/bl/feedblSpec.coffee index 70d0c6e8b..c8ba1ec34 100644 --- a/js/tests/services/bl/feedblSpec.coffee +++ b/js/tests/services/bl/feedblSpec.coffee @@ -201,4 +201,16 @@ describe 'FeedBl', -> folders = @FeedBl.getFeedsOfFolder(3) expect(folders).toContain(item1) - expect(folders).toContain(item3)
\ No newline at end of file + expect(folders).toContain(item3) + + + it 'should return the correct feed link', => + item2 = + id: 4, + unreadCount:134, + urlHash: 'a2', + folderId: 3, + link: 'test.com' + @FeedModel.add(item2) + + expect(@FeedBl.getFeedLink(4)).toBe('test.com')
\ No newline at end of file |