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
d94bd336
Commit
d94bd336
authored
Jul 06, 2020
by
Alan (Maciej) Paruszewski
Committed by
charlie ablett
Jul 06, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Expand Security & Compliance on Vulnerabilities Details page
parent
e880ed94
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
0 deletions
+24
-0
ee/app/helpers/ee/projects_helper.rb
ee/app/helpers/ee/projects_helper.rb
+1
-0
ee/changelogs/unreleased/217503-expand-security-and-compliance-on-vulnerabilities-show.yml
...xpand-security-and-compliance-on-vulnerabilities-show.yml
+5
-0
ee/spec/helpers/projects_helper_spec.rb
ee/spec/helpers/projects_helper_spec.rb
+18
-0
No files found.
ee/app/helpers/ee/projects_helper.rb
View file @
d94bd336
...
...
@@ -145,6 +145,7 @@ module EE
def
sidebar_security_paths
%w[
projects/security/configuration#show
projects/security/vulnerabilities#show
projects/security/dashboard#index
projects/on_demand_scans#index
projects/dependencies#index
...
...
ee/changelogs/unreleased/217503-expand-security-and-compliance-on-vulnerabilities-show.yml
0 → 100644
View file @
d94bd336
---
title
:
Expand Security & Compliance tab when viewing Vulnerabilities Details page
merge_request
:
35855
author
:
type
:
changed
ee/spec/helpers/projects_helper_spec.rb
View file @
d94bd336
...
...
@@ -138,6 +138,24 @@ RSpec.describe ProjectsHelper do
end
end
describe
'#sidebar_security_paths'
do
let
(
:expected_security_paths
)
do
%w[
projects/security/configuration#show
projects/security/vulnerabilities#show
projects/security/dashboard#index
projects/on_demand_scans#index
projects/dependencies#index
projects/licenses#index
projects/threat_monitoring#show
]
end
subject
{
helper
.
sidebar_security_paths
}
it
{
is_expected
.
to
eq
(
expected_security_paths
)
}
end
describe
'#get_project_nav_tabs'
do
using
RSpec
::
Parameterized
::
TableSyntax
...
...
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