Fixed Data Attribute Test

This commit is contained in:
Tim Zallmann 2019-01-06 15:57:15 +01:00
parent 7b325fa60c
commit 30038a40b0
1 changed files with 1 additions and 1 deletions

View File

@ -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', () => {