2014-12-15 14:41:08 -05:00
|
|
|
import Session from "discourse/models/session";
|
|
|
|
|
2017-06-14 13:57:58 -04:00
|
|
|
QUnit.module("model:session");
|
2013-07-26 14:59:28 -04:00
|
|
|
|
2017-06-14 13:57:58 -04:00
|
|
|
QUnit.test("highestSeenByTopic", assert => {
|
2015-08-07 15:08:27 -04:00
|
|
|
const session = Session.current();
|
2017-06-14 13:57:58 -04:00
|
|
|
assert.deepEqual(
|
|
|
|
session.get("highestSeenByTopic"),
|
|
|
|
{},
|
|
|
|
"by default it returns an empty object"
|
|
|
|
);
|
|
|
|
});
|