Commit 30038a40 authored by Tim Zallmann's avatar Tim Zallmann

Fixed Data Attribute Test

parent 7b325fa6
......@@ -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', () => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment