discourse/test/javascripts/controllers/controller_test.js

7 lines
258 B
JavaScript
Raw Normal View History

module("Discourse.Controller");
test("includes mixins", function() {
ok(Discourse.Presence.detect(Discourse.Controller.create()), "Discourse.Presence");
ok(Discourse.HasCurrentUser.detect(Discourse.Controller.create()), "Discourse.HasCurrentUser");
});