mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
11 lines
359 B
JavaScript
11 lines
359 B
JavaScript
moduleFor('controller:notifications', 'controller:notifications', {
|
|
needs: ['controller:header']
|
|
});
|
|
|
|
test("mixes in HasCurrentUser", function() {
|
|
ok(Discourse.HasCurrentUser.detect(this.subject()));
|
|
});
|
|
|
|
test("by default uses NotificationController as its item controller", function() {
|
|
equal(this.subject().get("itemController"), "notification");
|
|
});
|