diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-17 21:06:41 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-17 21:06:41 +0000 |
commit | da35510cdad8f8d3cb6c119682dc2735531983cd (patch) | |
tree | d42432c9ddc0d55a3c6316cdb539af11244a148f /spec/features/projects/pipelines | |
parent | 7f82744e89f22bdd2d13f85ca4dc66e088f3da5c (diff) | |
download | gitlab-ce-da35510cdad8f8d3cb6c119682dc2735531983cd.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/projects/pipelines')
-rw-r--r-- | spec/features/projects/pipelines/pipeline_spec.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/features/projects/pipelines/pipeline_spec.rb b/spec/features/projects/pipelines/pipeline_spec.rb index 9759fd04ad2..04adb1ec6af 100644 --- a/spec/features/projects/pipelines/pipeline_spec.rb +++ b/spec/features/projects/pipelines/pipeline_spec.rb @@ -98,6 +98,16 @@ describe 'Pipeline', :js do end end + it 'shows links to the related merge requests' do + visit_pipeline + + within '.related-merge-request-info' do + pipeline.all_merge_requests.map do |merge_request| + expect(page).to have_link(project_merge_request_path(project, merge_request)) + end + end + end + it_behaves_like 'showing user status' do let(:user_with_status) { pipeline.user } |