From bfd08ca649cdb115288b3c6e20d5f1347458bd57 Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 28 Sep 2015 17:18:46 +1000 Subject: [PATCH] correct invalid tests --- test/javascripts/components/d-link-test.js.es6 | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/javascripts/components/d-link-test.js.es6 b/test/javascripts/components/d-link-test.js.es6 index fc17333d3..a025cc6d7 100644 --- a/test/javascripts/components/d-link-test.js.es6 +++ b/test/javascripts/components/d-link-test.js.es6 @@ -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')); } });