Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-12-20 21:07:53 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2019-12-20 21:07:53 +0300
commit682360490629376e2ec07d737c7d7dbfdaaeeab7 (patch)
tree7abe62a4d200738ac086ac0c0bd633ce0bc03f00 /spec/frontend/boards
parent2f26f81ce3e3f97ddc5ce5e2e103925d7d0d170f (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/boards')
-rw-r--r--spec/frontend/boards/issue_card_spec.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/spec/frontend/boards/issue_card_spec.js b/spec/frontend/boards/issue_card_spec.js
index c7ab477c0af..4a0a3497620 100644
--- a/spec/frontend/boards/issue_card_spec.js
+++ b/spec/frontend/boards/issue_card_spec.js
@@ -267,17 +267,13 @@ describe('Issue card component', () => {
});
it('renders label', () => {
- const nodes = wrapper
- .findAll('.badge')
- .wrappers.map(label => label.attributes('data-original-title'));
+ const nodes = wrapper.findAll('.badge').wrappers.map(label => label.attributes('title'));
expect(nodes.includes(label1.description)).toBe(true);
});
it('sets label description as title', () => {
- expect(wrapper.find('.badge').attributes('data-original-title')).toContain(
- label1.description,
- );
+ expect(wrapper.find('.badge').attributes('title')).toContain(label1.description);
});
it('sets background color of button', () => {