Revert "ES6: AvatarSelector and HeaderController - also includes support for controllers with"

This reverts commit 44b2f82be84b5fbd316421159859996e1594b850.
This commit is contained in:
Robin Ward
2014-05-05 13:58:45 -04:00
parent 69225a7ea9
commit aa269c92a0
7 changed files with 12 additions and 40 deletions

View File

@ -4,10 +4,10 @@ var avatarSelector = Em.Object.create({
uploaded_avatar_template: "//cdn.discourse.org/uploads/meta_discourse/avatars/093/607/185cff113e/{size}.jpg"
});
module("controller:avatar-selector");
module("Discourse.AvatarSelectorController");
test("avatarTemplate", function() {
var avatarSelectorController = controllerFor('avatar-selector');
var avatarSelectorController = testController(Discourse.AvatarSelectorController);
avatarSelectorController.setProperties(avatarSelector);
equal(avatarSelectorController.get("avatarTemplate"),

View File

@ -1,4 +1,4 @@
module("controller:header", "Header Controller");
module("Discourse.HeaderController");
test("showNotifications action", function() {
var resolveRequestWith;
@ -7,7 +7,7 @@ test("showNotifications action", function() {
});
var controller = controllerFor('header');
var controller = Discourse.HeaderController.create();
var viewSpy = {
showDropdownBySelector: sinon.spy()
};