2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-07 12:02:53 +08:00

Removed bad JS tests, upgrade QUnit + ember-qunit

This commit is contained in:
Robin Ward 2015-05-13 14:12:54 -04:00
parent 4df868a420
commit 01d4085125
13 changed files with 1062 additions and 465 deletions

View file

@ -1,17 +0,0 @@
moduleForComponent("text-field");
test("renders correctly with no properties set", function() {
var component = this.subject();
equal(component.get('type'), "text");
});
test("support a placeholder", function() {
sandbox.stub(I18n, "t").returnsArg(0);
var component = this.subject({
placeholderKey: "placeholder.i18n.key"
});
equal(component.get('type'), "text");
equal(component.get('placeholder'), "placeholder.i18n.key");
});