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

@ -14,11 +14,6 @@ function setTemplates(lookupStrings) {
});
}
function normalized(input, expected, desc) {
var resolver = Discourse.Resolver.create({namespace: Discourse});
equal(resolver.normalizeName(input), expected, desc);
}
module("Discourse.Resolver", {
setup: function() {
originalTemplates = Ember.TEMPLATES;
@ -34,12 +29,6 @@ module("Discourse.Resolver", {
}
});
test("normalizeName", function() {
normalized('header', 'header', 'a single word stays the same');
normalized('avatarSelector', 'avatar-selector', 'camel case is converted to dashed');
normalized('avatar_selector', 'avatar-selector', 'underscores are converted to dashes');
});
test("finds templates in top level dir", function() {
setTemplates([
"foobar",