discourse/test/javascripts/controllers/controller_test.js
2013-09-30 18:12:12 +02:00

6 lines
258 B
JavaScript

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