From a4c726012c8e9d6025322ba5c0da72d753a1b487 Mon Sep 17 00:00:00 2001 From: Filipa Lacerda Date: Mon, 16 Oct 2017 08:07:28 +0000 Subject: Move retry button to sidebar --- spec/javascripts/jobs/header_spec.js | 7 ------- 1 file changed, 7 deletions(-) (limited to 'spec/javascripts/jobs/header_spec.js') diff --git a/spec/javascripts/jobs/header_spec.js b/spec/javascripts/jobs/header_spec.js index c7179b3e03d..4a210faa017 100644 --- a/spec/javascripts/jobs/header_spec.js +++ b/spec/javascripts/jobs/header_spec.js @@ -30,7 +30,6 @@ describe('Job details header', () => { email: 'foo@bar.com', avatar_url: 'link', }, - retry_path: 'path', new_issue_path: 'path', }, isLoading: false, @@ -49,12 +48,6 @@ describe('Job details header', () => { ).toEqual('failed Job #123 triggered 3 weeks ago by Foo'); }); - it('should render retry link', () => { - expect( - vm.$el.querySelector('.js-retry-button').getAttribute('href'), - ).toEqual(props.job.retry_path); - }); - it('should render new issue link', () => { expect( vm.$el.querySelector('.js-new-issue').getAttribute('href'), -- cgit v1.2.1