diff options
author | George Tsiolis <tsiolis.g@gmail.com> | 2018-07-23 18:03:40 +0300 |
---|---|---|
committer | George Tsiolis <tsiolis.g@gmail.com> | 2018-07-24 10:53:59 +0300 |
commit | f1c7ab5165b7d7502fd944faa8214f6a50535085 (patch) | |
tree | f18c02de1ae6d06fa479888d34ea90fca6bad264 /spec/javascripts/sidebar | |
parent | 08892f952678de82168af4304c3df1d01b0c5e48 (diff) | |
download | gitlab-ce-f1c7ab5165b7d7502fd944faa8214f6a50535085.tar.gz |
Replace author_link snake case in specs
Diffstat (limited to 'spec/javascripts/sidebar')
-rw-r--r-- | spec/javascripts/sidebar/assignees_spec.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/javascripts/sidebar/assignees_spec.js b/spec/javascripts/sidebar/assignees_spec.js index 4e4343812bd..843e7002180 100644 --- a/spec/javascripts/sidebar/assignees_spec.js +++ b/spec/javascripts/sidebar/assignees_spec.js @@ -102,13 +102,13 @@ describe('Assignee component', () => { }, }).$mount(); - expect(component.$el.querySelector('.author_link')).not.toBeNull(); + expect(component.$el.querySelector('.author-link')).not.toBeNull(); // The image - expect(component.$el.querySelector('.author_link img').getAttribute('src')).toEqual(UsersMock.user.avatar); + expect(component.$el.querySelector('.author-link img').getAttribute('src')).toEqual(UsersMock.user.avatar); // Author name - expect(component.$el.querySelector('.author_link .author').innerText.trim()).toEqual(UsersMock.user.name); + expect(component.$el.querySelector('.author-link .author').innerText.trim()).toEqual(UsersMock.user.name); // Username - expect(component.$el.querySelector('.author_link .username').innerText.trim()).toEqual(`@${UsersMock.user.username}`); + expect(component.$el.querySelector('.author-link .username').innerText.trim()).toEqual(`@${UsersMock.user.username}`); }); it('has the root url present in the assigneeUrl method', () => { |