Commit d94bd336 authored by Alan (Maciej) Paruszewski's avatar Alan (Maciej) Paruszewski Committed by charlie ablett

Expand Security & Compliance on Vulnerabilities Details page

parent e880ed94
......@@ -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
......
---
title: Expand Security & Compliance tab when viewing Vulnerabilities Details page
merge_request: 35855
author:
type: changed
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment