diff options
author | Phil Hughes <me@iamphill.com> | 2017-01-31 11:54:04 +0000 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2017-02-03 17:02:44 +0300 |
commit | a51aa6ab42a52b3c1d246b72ab3933ac3134cf4b (patch) | |
tree | 91c4627b902f34d79852460b696ef6b9c8b15edf | |
parent | 1b840452b9ae5749cdc95ca391d029fbb40842c6 (diff) | |
download | gitlab-ce-a51aa6ab42a52b3c1d246b72ab3933ac3134cf4b.tar.gz |
Fixed issue card spec
-rw-r--r-- | spec/javascripts/boards/issue_card_spec.js.es6 | 6 |
1 files 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-card :issue="issue" :list="list" - :issue-link-base="issueLinkBase"></issue-card> + :issue-link-base="issueLinkBase" + :root-path="rootPath"></issue-card> `, }); }); @@ -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', () => { |