From a8fb4865eb02747541b3f8cc089936d2e2953e16 Mon Sep 17 00:00:00 2001 From: Filipa Lacerda Date: Thu, 19 Apr 2018 17:01:45 +0100 Subject: Updates tests --- spec/javascripts/vue_shared/components/commit_spec.js | 5 ----- 1 file changed, 5 deletions(-) (limited to 'spec/javascripts/vue_shared/components/commit_spec.js') diff --git a/spec/javascripts/vue_shared/components/commit_spec.js b/spec/javascripts/vue_shared/components/commit_spec.js index ed66361bfc3..9aea9de1ad6 100644 --- a/spec/javascripts/vue_shared/components/commit_spec.js +++ b/spec/javascripts/vue_shared/components/commit_spec.js @@ -55,7 +55,6 @@ describe('Commit component', () => { path: '/jschatz1', username: 'jschatz1', }, - commitIconSvg: '', }; component = mountComponent(CommitComponent, props); @@ -82,10 +81,6 @@ describe('Commit component', () => { expect(component.$el.querySelector('.commit-sha').textContent).toContain(props.shortSha); }); - it('should render the given commitIconSvg', () => { - expect(component.$el.querySelector('.js-commit-icon').children).toContain('svg'); - }); - describe('Given commit title and author props', () => { it('should render a link to the author profile', () => { expect( -- cgit v1.2.1