Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
a51aa6ab
Commit
a51aa6ab
authored
Jan 31, 2017
by
Phil Hughes
Committed by
Fatih Acet
Feb 03, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed issue card spec
parent
1b840452
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
spec/javascripts/boards/issue_card_spec.js.es6
spec/javascripts/boards/issue_card_spec.js.es6
+4
-2
No files found.
spec/javascripts/boards/issue_card_spec.js.es6
View file @
a51aa6ab
...
...
@@ -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', () => {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment