diff options
author | Phil Hughes <me@iamphill.com> | 2018-06-28 12:08:42 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-06-28 12:08:42 +0300 |
commit | 4473b685d6a64263eca6f87567fd2a0529802071 (patch) | |
tree | 2f01cdc3857c5873f6948a19a4ce8aab5ccff42f /spec | |
parent | 5e7988eeccd017f2948831bdaab3bbdbc2e2b544 (diff) | |
parent | c7d671a97d414b4679525e3cd9c177e31178754b (diff) |
Merge branch 'fl-boards-tech-debt' into 'master'
Uses tooltip vue directive in issue card component
See merge request gitlab-org/gitlab-ce!20215
Diffstat (limited to 'spec')
-rw-r--r-- | spec/javascripts/boards/issue_card_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/javascripts/boards/issue_card_spec.js b/spec/javascripts/boards/issue_card_spec.js index 72e961c8a10..7a32e84bced 100644 --- a/spec/javascripts/boards/issue_card_spec.js +++ b/spec/javascripts/boards/issue_card_spec.js @@ -255,7 +255,7 @@ describe('Issue card component', () => { it('renders label', () => { const nodes = []; component.$el.querySelectorAll('.badge').forEach((label) => { - nodes.push(label.title); + nodes.push(label.getAttribute('data-original-title')); }); expect( @@ -265,7 +265,7 @@ describe('Issue card component', () => { it('sets label description as title', () => { expect( - component.$el.querySelector('.badge').getAttribute('title'), + component.$el.querySelector('.badge').getAttribute('data-original-title'), ).toContain(label1.description); }); |