correct invalid tests

This commit is contained in:
Sam 2015-09-28 17:18:46 +10:00
parent 6c37b26b24
commit bfd08ca649

View file

@ -20,8 +20,6 @@ componentTest('with a label', {
test(assert) {
const $a = this.$('a');
assert.equal($a.text(), I18n.t('user.preferences'));
assert.equal($a.attr('title'), I18n.t('user.preferences'));
assert.equal($a.attr('aria-title'), I18n.t('user.preferences'));
}
});
@ -31,8 +29,6 @@ componentTest('with a label and icon', {
const $a = this.$('a');
assert.ok(this.$('i.fa-gear', $a).length, 'shows the icon');
assert.equal($a.text(), ` ${I18n.t('user.preferences')}`, "includes a space");
assert.equal($a.attr('title'), I18n.t('user.preferences'));
assert.equal($a.attr('aria-title'), I18n.t('user.preferences'));
}
});