mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 09:34:44 +08:00
be9feeb918
This is a lot simpler and removes the need for stubbing singletons in unit tests.
8 lines
227 B
JavaScript
8 lines
227 B
JavaScript
import DiscourseController from 'discourse/controllers/controller';
|
|
|
|
module("DiscourseController");
|
|
|
|
test("includes mixins", function() {
|
|
ok(Discourse.Presence.detect(DiscourseController.create()), "Discourse.Presence");
|
|
});
|