From a51aa6ab42a52b3c1d246b72ab3933ac3134cf4b Mon Sep 17 00:00:00 2001 From: Phil Hughes Date: Tue, 31 Jan 2017 11:54:04 +0000 Subject: Fixed issue card spec --- spec/javascripts/boards/issue_card_spec.js.es6 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/spec/javascripts/boards/issue_card_spec.js.es6 b/spec/javascripts/boards/issue_card_spec.js.es6 index d68108c6f6f..1d6940ca3a1 100644 --- a/spec/javascripts/boards/issue_card_spec.js.es6 +++ b/spec/javascripts/boards/issue_card_spec.js.es6 @@ -50,6 +50,7 @@ describe('Issue card component', () => { list, issue, issueLinkBase: '/test', + rootPath: '/', }; }, components: { @@ -59,7 +60,8 @@ describe('Issue card component', () => { + :issue-link-base="issueLinkBase" + :root-path="rootPath"> `, }); }); @@ -136,7 +138,7 @@ describe('Issue card component', () => { it('sets users path', () => { expect( component.$el.querySelector('.card-assignee').getAttribute('href'), - ).toBe('test'); + ).toBe('/test'); }); it('renders avatar', () => { -- cgit v1.2.1