Skip to content
代码片段 群组 项目
提交 d868d313 编辑于 作者: charlie ablett's avatar charlie ablett
浏览文件

Merge branch '217503-expand-security-and-compliance-on-vulnerabilities-show' into 'master'

Expand Security & Compliance on Vulnerabilities Details page

See merge request gitlab-org/gitlab!35855
No related branches found
No related tags found
无相关合并请求
...@@ -145,6 +145,7 @@ def merge_trains_available? ...@@ -145,6 +145,7 @@ def merge_trains_available?
def sidebar_security_paths def sidebar_security_paths
%w[ %w[
projects/security/configuration#show projects/security/configuration#show
projects/security/vulnerabilities#show
projects/security/dashboard#index projects/security/dashboard#index
projects/on_demand_scans#index projects/on_demand_scans#index
projects/dependencies#index projects/dependencies#index
......
---
title: Expand Security & Compliance tab when viewing Vulnerabilities Details page
merge_request: 35855
author:
type: changed
...@@ -138,6 +138,24 @@ ...@@ -138,6 +138,24 @@
end end
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 describe '#get_project_nav_tabs' do
using RSpec::Parameterized::TableSyntax using RSpec::Parameterized::TableSyntax
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册