ES6: Migrated and deprecated a bunch of views

This commit is contained in:
Robin Ward
2014-06-10 11:54:38 -04:00
parent c88bff5e0c
commit 580a1bf8b0
64 changed files with 206 additions and 382 deletions

View File

@ -1,5 +1,5 @@
var appendTextFieldWithProperties = function(properties) {
var view = Discourse.TextField.create(properties);
var view = viewClassFor('text-field').create(properties);
Ember.run(function() {
view.appendTo(fixture());
});
@ -13,7 +13,7 @@ var hasNoAttr = function($element, attrName) {
equal($element.attr(attrName), undefined, "'" + attrName + "' attribute is not rendered");
};
module("Discourse.TextField");
module("view:text-field");
test("renders correctly with no properties set", function() {
appendTextFieldWithProperties({});