mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-02 03:47:34 -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");
|
|
});
|