adds unit tests for Discourse.Controller

This commit is contained in:
Wojciech Zawistowski 2013-09-30 18:12:12 +02:00
parent e4e8b84ca8
commit 2f9a467453

View file

@ -0,0 +1,6 @@
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");
});