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
f3eec0ff
Commit
f3eec0ff
authored
May 21, 2018
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove test for `hasItemsToShow` prop as no longer necessary
parent
02ea0066
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
18 deletions
+0
-18
spec/javascripts/geo_nodes/components/node_detail_sections/node_details_section_verification_spec.js
...detail_sections/node_details_section_verification_spec.js
+0
-18
No files found.
spec/javascripts/geo_nodes/components/node_detail_sections/node_details_section_verification_spec.js
View file @
f3eec0ff
...
...
@@ -37,24 +37,6 @@ describe('NodeDetailsSectionVerification', () => {
});
});
describe
(
'
computed
'
,
()
=>
{
describe
(
'
hasItemsToShow
'
,
()
=>
{
it
(
'
returns `true` when `nodeTypePrimary` prop is true
'
,
(
done
)
=>
{
vm
.
nodeTypePrimary
=
true
;
Vue
.
nextTick
()
.
then
(()
=>
{
expect
(
vm
.
hasItemsToShow
).
toBe
(
true
);
})
.
then
(
done
)
.
catch
(
done
.
fail
);
});
it
(
'
returns value of `nodeDetails.repositoryVerificationEnabled` when `nodeTypePrimary` prop is false
'
,
()
=>
{
expect
(
vm
.
hasItemsToShow
).
toBe
(
mockNodeDetails
.
repositoryVerificationEnabled
);
});
});
});
describe
(
'
methods
'
,
()
=>
{
describe
(
'
getPrimaryNodeDetailItems
'
,
()
=>
{
const
primaryItems
=
[
...
...
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