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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
dcec0907
Commit
dcec0907
authored
Aug 13, 2018
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added spec
parent
962420c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
1 deletion
+17
-1
changelogs/unreleased/ide-header-buttons-tooltip.yml
changelogs/unreleased/ide-header-buttons-tooltip.yml
+1
-1
spec/javascripts/ide/components/new_dropdown/button_spec.js
spec/javascripts/ide/components/new_dropdown/button_spec.js
+16
-0
No files found.
changelogs/unreleased/ide-header-buttons-tooltip.yml
View file @
dcec0907
---
---
title
:
Added tooltips to tree list header
title
:
Added tooltips to tree list header
merge_request
:
merge_request
:
21138
author
:
author
:
type
:
added
type
:
added
spec/javascripts/ide/components/new_dropdown/button_spec.js
View file @
dcec0907
...
@@ -46,4 +46,20 @@ describe('IDE new entry dropdown button component', () => {
...
@@ -46,4 +46,20 @@ describe('IDE new entry dropdown button component', () => {
done
();
done
();
});
});
});
});
describe
(
'
tooltipTitle
'
,
()
=>
{
it
(
'
returns empty string when showLabel is true
'
,
()
=>
{
expect
(
vm
.
tooltipTitle
).
toBe
(
''
);
});
it
(
'
returns label
'
,
done
=>
{
vm
.
showLabel
=
false
;
vm
.
$nextTick
(()
=>
{
expect
(
vm
.
tooltipTitle
).
toBe
(
'
Testing
'
);
done
();
});
});
});
});
});
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