diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-05-04 16:44:22 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-05-04 16:44:22 +0200 |
commit | d648b26345e6e9d58d59e72adc0a438d6c750279 (patch) | |
tree | 62a86a4c1375c339c334ab1bad887d7eb8160059 /js/tests/services/unreadcountformaterSpec.coffee | |
parent | aa60a37d816f0f8b03f2ab73c014812ca2fc9a9f (diff) |
use 99 as maximum unread count to display, permanently display delete button for active feed
Diffstat (limited to 'js/tests/services/unreadcountformaterSpec.coffee')
-rw-r--r-- | js/tests/services/unreadcountformaterSpec.coffee | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/tests/services/unreadcountformaterSpec.coffee b/js/tests/services/unreadcountformaterSpec.coffee index f4dabb8cc..5b151fca7 100644 --- a/js/tests/services/unreadcountformaterSpec.coffee +++ b/js/tests/services/unreadcountformaterSpec.coffee @@ -27,9 +27,9 @@ describe 'unreadCountFormatter', -> beforeEach inject (@unreadCountFormatter) => - it 'should return the normal count if its below 999', => - expect(@unreadCountFormatter(999)).toBe(999) + it 'should return the normal count if its below 99', => + expect(@unreadCountFormatter(99)).toBe(99) - it 'should set the count to 999+ if the count is over 999', => - expect(@unreadCountFormatter(1000)).toBe('999+')
\ No newline at end of file + it 'should set the count to 99+ if the count is over 99', => + expect(@unreadCountFormatter(100)).toBe('99+')
\ No newline at end of file |