discourse/test/javascripts/controllers/discourse-test.js.es6
2014-08-13 10:22:47 -04:00

9 lines
324 B
JavaScript

import DiscourseController from 'discourse/controllers/controller';
module("DiscourseController");
test("includes mixins", function() {
ok(Discourse.Presence.detect(DiscourseController.create()), "Discourse.Presence");
ok(Discourse.HasCurrentUser.detect(DiscourseController.create()), "Discourse.HasCurrentUser");
});