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

camelcase via an error message.
This commit is contained in:
Robin Ward
2014-04-29 21:16:57 -04:00
parent 0327f469c1
commit 44b2f82be8
7 changed files with 40 additions and 12 deletions

View File

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