Commit 8634cca3 authored by Sanad Liaquat's avatar Sanad Liaquat

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
parents fa866ccb 095768be
......@@ -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
......
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