Merge branch 'change_pipelines_schedules_help_page_path' into 'master'
Change pipelines schedules help page path See merge request !11592
This commit is contained in:
commit
a5a5f5fe27
|
@ -7,14 +7,14 @@
|
|||
= render "projects/pipelines/head"
|
||||
|
||||
%div{ class: container_class }
|
||||
#pipeline-schedules-callout{ data: { docs_url: help_page_path('ci/pipeline_schedules') } }
|
||||
#pipeline-schedules-callout{ data: { docs_url: help_page_path('user/project/pipelines/schedules') } }
|
||||
.top-area
|
||||
- schedule_path_proc = ->(scope) { pipeline_schedules_path(@project, scope: scope) }
|
||||
= render "tabs", schedule_path_proc: schedule_path_proc, all_schedules: @all_schedules, scope: @scope
|
||||
|
||||
.nav-controls
|
||||
= link_to new_namespace_project_pipeline_schedule_path(@project.namespace, @project), class: 'btn btn-create' do
|
||||
%span New Schedule
|
||||
%span New schedule
|
||||
|
||||
- if @schedules.present?
|
||||
%ul.content-list
|
||||
|
|
|
@ -38,7 +38,7 @@ feature 'Pipeline Schedules', :feature do
|
|||
end
|
||||
|
||||
it 'creates a new scheduled pipeline' do
|
||||
click_link 'New Schedule'
|
||||
click_link 'New schedule'
|
||||
|
||||
expect(page).to have_content('Schedule a new pipeline')
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue