discourse/test/javascripts/controllers/notifications_controller_test.js
2014-07-30 20:09:44 -04:00

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");
});