Commit fbf8eb2c authored by mfluharty's avatar mfluharty

Use short project path helpers

`codequality_report_project_pipeline_path`
instead of
`codequality_report_namespace_project_pipeline_path`
parent 4d7fbe95
......@@ -14,5 +14,5 @@
- if pipeline.downloadable_path_for_report_type(:codequality)
%li.js-codequality-tab-link
= link_to codequality_report_namespace_project_pipeline_path(project.namespace, project, pipeline), data: { target: '#js-tab-codequality', action: 'codequality_report', toggle: 'tab'}, class: 'codequality-tab' do
= link_to codequality_report_project_pipeline_path(project, pipeline), data: { target: '#js-tab-codequality', action: 'codequality_report', toggle: 'tab'}, class: 'codequality-tab' do
= _('Code Quality')
......@@ -182,7 +182,7 @@ describe 'Pipeline', :js do
context 'with code quality artifact' do
before do
create(:ee_ci_build, :codequality, pipeline: pipeline)
visit codequality_report_namespace_project_pipeline_path(project.namespace, project, pipeline)
visit codequality_report_project_pipeline_path(project, pipeline)
end
it 'shows code quality tab pane as active' do
......
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