diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2017-12-12 09:22:01 +0300 |
---|---|---|
committer | Tim Zallmann <tzallmann@gitlab.com> | 2017-12-12 09:22:01 +0300 |
commit | c367d1d5be1b392bed3440619023e37d0c42e60f (patch) | |
tree | b8786531bb1f73ebbcc8da2b58567ad5453c1d65 /spec/javascripts | |
parent | 8d739237de2d1bcfa063be422eac71c0566a4a54 (diff) | |
parent | b87c53c72d7cb3226200b025ee7d7ca8fccece42 (diff) |
Merge branch '39608-comment-on-image-discussions-tab-alignment' into 'master'
Fix comment on image discussion icon alignment (update icons)
Closes #39608
See merge request gitlab-org/gitlab-ce!15760
Diffstat (limited to 'spec/javascripts')
-rw-r--r-- | spec/javascripts/image_diff/helpers/badge_helper_spec.js | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/spec/javascripts/image_diff/helpers/badge_helper_spec.js b/spec/javascripts/image_diff/helpers/badge_helper_spec.js index fb9c7e59031..ce3add1fd90 100644 --- a/spec/javascripts/image_diff/helpers/badge_helper_spec.js +++ b/spec/javascripts/image_diff/helpers/badge_helper_spec.js @@ -89,15 +89,8 @@ describe('badge helper', () => { }); it('should create icon comment button', () => { - const iconEl = buttonEl.querySelector('i'); + const iconEl = buttonEl.querySelector('svg'); expect(iconEl).toBeDefined(); - expect(iconEl.classList.contains('fa')).toEqual(true); - expect(iconEl.classList.contains('fa-comment-o')).toEqual(true); - }); - - it('should have .image-comment-badge.inverted in button class', () => { - expect(buttonEl.classList.contains('image-comment-badge')).toEqual(true); - expect(buttonEl.classList.contains('inverted')).toEqual(true); }); }); |