Merge pull request #1483 from velesin/controller_tests
adds unit tests for Discourse.Controller
This commit is contained in:
commit
57f7c794d7
|
@ -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");
|
||||||
|
});
|
Loading…
Reference in New Issue