discourse/test/javascripts/controllers/notifications-test.js.es6
2014-07-31 13:25:39 -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");
});