mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -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");
|
|
});
|