diff options
author | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-12-06 21:38:35 +0300 |
---|---|---|
committer | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-12-19 22:12:28 +0300 |
commit | 5bbc322bd383adccf997b945abe7f07759b70013 (patch) | |
tree | 607cd0d5345ee4838a1ebb2ab226105b11f53dcd /spec | |
parent | 39018a7445142a6c93699e0ba86889bd931eb198 (diff) |
Replaced the remaining code-fork icons
Diffstat (limited to 'spec')
-rw-r--r-- | spec/javascripts/vue_shared/components/commit_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/javascripts/vue_shared/components/commit_spec.js b/spec/javascripts/vue_shared/components/commit_spec.js index d5754aaa9e7..fdead874209 100644 --- a/spec/javascripts/vue_shared/components/commit_spec.js +++ b/spec/javascripts/vue_shared/components/commit_spec.js @@ -10,7 +10,7 @@ describe('Commit component', () => { CommitComponent = Vue.extend(commitComp); }); - it('should render a code-fork icon if it does not represent a tag', () => { + it('should render a fork icon if it does not represent a tag', () => { component = new CommitComponent({ propsData: { tag: false, @@ -30,7 +30,7 @@ describe('Commit component', () => { }, }).$mount(); - expect(component.$el.querySelector('.icon-container i').classList).toContain('fa-code-fork'); + expect(component.$el.querySelector('.icon-container').children).toContain('svg'); }); describe('Given all the props', () => { |