discourse/test/javascripts/controllers/discourse-test.js.es6

9 lines
324 B
Plaintext
Raw Normal View History

2014-08-12 19:04:36 -04:00
import DiscourseController from 'discourse/controllers/controller';
module("DiscourseController");
test("includes mixins", function() {
2014-08-12 19:04:36 -04:00
ok(Discourse.Presence.detect(DiscourseController.create()), "Discourse.Presence");
ok(Discourse.HasCurrentUser.detect(DiscourseController.create()), "Discourse.HasCurrentUser");
});