mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
adds unit tests for Discourse.Controller
This commit is contained in:
parent
e4e8b84ca8
commit
2f9a467453
1 changed files with 6 additions and 0 deletions
6
test/javascripts/controllers/controller_test.js
Normal file
6
test/javascripts/controllers/controller_test.js
Normal 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");
|
||||
});
|
Loading…
Reference in a new issue