summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2019-01-06 15:57:15 +0100
committerTim Zallmann <tzallmann@gitlab.com>2019-01-06 15:57:15 +0100
commit30038a40b08618380422ff3307061ca8fcbe0003 (patch)
tree4ba060d8b308053ce6c98f897cc7ed6c4c34a0a2
parent7b325fa60c14ee3ebf31179ae20689573e93033f (diff)
downloadgitlab-ce-54981-extended-user-centric-tooltips-add-missing-cases.tar.gz
-rw-r--r--spec/javascripts/diffs/components/commit_item_spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/diffs/components/commit_item_spec.js b/spec/javascripts/diffs/components/commit_item_spec.js
index c4127aa494d..50e45f48af3 100644
--- a/spec/javascripts/diffs/components/commit_item_spec.js
+++ b/spec/javascripts/diffs/components/commit_item_spec.js
@@ -81,7 +81,7 @@ describe('diffs/components/commit_item', () => {
expect(nameElement).toHaveAttr('href', commit.author.web_url);
expect(nameElement).toHaveText(commit.author.name);
expect(nameElement).toHaveClass('js-user-link');
- expect(nameElement).toHaveAttr('data-user-id', commit.author.id);
+ expect(nameElement.dataset.userId).toEqual(commit.author.id.toString());
});
describe('without commit description', () => {