FIX: Allow Discourse.Session.current() API to update to 0

This commit is contained in:
Robin Ward
2013-08-02 18:48:02 -04:00
parent 91efbc1830
commit 8d08391ff5
3 changed files with 5 additions and 3 deletions

View File

@ -13,6 +13,8 @@ test('current', function(){
Discourse.Session.current('orange', 'juice');
equal(session.get('orange'), "juice", "it can be updated");
Discourse.Session.current('zero', 0);
equal(session.get('zero'), 0);
});
test('highestSeenByTopic', function() {