summaryrefslogtreecommitdiff
path: root/spec/javascripts/boards
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2018-06-27 15:10:50 +0100
committerFilipa Lacerda <filipa@gitlab.com>2018-06-27 17:16:29 +0100
commitc7d671a97d414b4679525e3cd9c177e31178754b (patch)
treefecd5a3d4e13d39cf4e5a38dfd12a52c594b14b7 /spec/javascripts/boards
parent07de43a7e07cefcbb60e7ed84c684f478eae8b93 (diff)
downloadgitlab-ce-c7d671a97d414b4679525e3cd9c177e31178754b.tar.gz
Uses tooltip vue directive in issue card component
Diffstat (limited to 'spec/javascripts/boards')
-rw-r--r--spec/javascripts/boards/issue_card_spec.js4
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);
});