discourse/test/javascripts/controllers/discourse-test.js.es6
Robin Ward be9feeb918 Replace CurrentUserMixin with an injected currentUser
This is a lot simpler and removes the need for stubbing singletons
in unit tests.
2015-02-27 10:33:39 -05:00

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");
});