mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
Moved highestSeenByTopic to the Discourse.Session
This commit is contained in:
@ -13,4 +13,11 @@ test('current', function(){
|
||||
Discourse.Session.current('orange', 'juice');
|
||||
equal(session.get('orange'), "juice", "it can be updated");
|
||||
|
||||
});
|
||||
|
||||
test('highestSeenByTopic', function() {
|
||||
|
||||
var session = Discourse.Session.current();
|
||||
deepEqual(session.get('highestSeenByTopic'), {}, "by default it returns an empty object");
|
||||
|
||||
});
|
Reference in New Issue
Block a user