Added Spec for Vue Commit Item
This commit is contained in:
parent
34d3696783
commit
7b325fa60c
|
@ -80,6 +80,8 @@ describe('diffs/components/commit_item', () => {
|
|||
expect(trimText(committerElement.textContent)).toEqual(expectedText);
|
||||
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);
|
||||
});
|
||||
|
||||
describe('without commit description', () => {
|
||||
|
|
Loading…
Reference in New Issue