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
5c91113c
Commit
5c91113c
authored
May 03, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed karma specs
parent
f29e5d4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/javascripts/deploy_keys/components/keys_panel_spec.js
spec/javascripts/deploy_keys/components/keys_panel_spec.js
+2
-2
No files found.
spec/javascripts/deploy_keys/components/keys_panel_spec.js
View file @
5c91113c
...
@@ -30,13 +30,13 @@ describe('Deploy keys panel', () => {
...
@@ -30,13 +30,13 @@ describe('Deploy keys panel', () => {
expect
(
expect
(
vm
.
$el
.
querySelector
(
'
h5
'
).
textContent
.
trim
(),
vm
.
$el
.
querySelector
(
'
h5
'
).
textContent
.
trim
(),
).
toContain
(
'
(1)
'
);
).
toContain
(
`(
${
vm
.
keys
.
length
}
)`
);
});
});
it
(
'
renders list of keys
'
,
()
=>
{
it
(
'
renders list of keys
'
,
()
=>
{
expect
(
expect
(
vm
.
$el
.
querySelectorAll
(
'
li
'
).
length
,
vm
.
$el
.
querySelectorAll
(
'
li
'
).
length
,
).
toBe
(
1
);
).
toBe
(
vm
.
keys
.
length
);
});
});
it
(
'
renders help box if keys are empty
'
,
(
done
)
=>
{
it
(
'
renders help box if keys are empty
'
,
(
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