Skip to content
Snippets Groups Projects
Commit 4e11cc8d authored by Sanad Liaquat's avatar Sanad Liaquat Committed by 🤖 GitLab Bot 🤖
Browse files

Merge branch 'qa-ml-fix-view-commit-patch-test' into 'master'

Resolve "Failure in qa/specs/features/browser_ui/3_create/repository/user_views_commit_diff_patch_spec.rb"

Closes gitlab-org/quality/staging#69

See merge request gitlab-org/gitlab-ce!32087

(cherry picked from commit 8634cca3)

095768be Fix failing test
parent 1a883cf2
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -49,7 +49,7 @@ module QA
 
Page::Project::Commit::Show.perform(&:select_email_patches)
 
expect(page).to have_content("From: #{@user.name} <#{@user.public_email}>")
expect(page).to have_content(/From: "?#{Regexp.escape(@user.name)}"? <#{@user.public_email}>/)
expect(page).to have_content('Subject: [PATCH] Add second file')
expect(page).to have_content('diff --git a/second b/second')
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment