mirror of
https://github.com/discourse/discourse.git
synced 2024-12-11 20:23:39 +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");
|
|
});
|