mirror of
https://github.com/discourse/discourse.git
synced 2024-12-13 10:13:45 +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");
|
|
});
|