From 51c35a4ab54e94239a623082d85378549739bea8 Mon Sep 17 00:00:00 2001 From: Filipa Lacerda Date: Tue, 28 May 2019 11:02:06 +0100 Subject: Fixes ref being displayed as raw HTML The ref to the branch was being displayed as raw HTML in the Pipelines page --- spec/features/projects/pipelines/pipeline_spec.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'spec/features/projects/pipelines/pipeline_spec.rb') diff --git a/spec/features/projects/pipelines/pipeline_spec.rb b/spec/features/projects/pipelines/pipeline_spec.rb index a1115b514d3..506aa867490 100644 --- a/spec/features/projects/pipelines/pipeline_spec.rb +++ b/spec/features/projects/pipelines/pipeline_spec.rb @@ -328,6 +328,12 @@ describe 'Pipeline', :js do expect(page).not_to have_link(pipeline.ref) expect(page).to have_content(pipeline.ref) end + + it 'does not render render raw HTML to the pipeline ref' do + page.within '.pipeline-info' do + expect(page).not_to have_content('