mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 20:02:46 +08:00
9 lines
324 B
JavaScript
9 lines
324 B
JavaScript
import DiscourseController from 'discourse/controllers/controller';
|
|
|
|
module("DiscourseController");
|
|
|
|
test("includes mixins", function() {
|
|
ok(Discourse.Presence.detect(DiscourseController.create()), "Discourse.Presence");
|
|
ok(Discourse.HasCurrentUser.detect(DiscourseController.create()), "Discourse.HasCurrentUser");
|
|
});
|