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