Commit 4ba3b669 authored by Stan Hu's avatar Stan Hu

Merge branch 'issue_342492__commit' into 'master'

Pass formats explicitly when rendering .html format

See merge request gitlab-org/gitlab!75782
parents d0f7d163 2e8f3919
......@@ -19,7 +19,7 @@ RSpec.describe 'projects/commits/_commit.html.haml' do
allow(commit).to receive(:different_committer?).and_return(true)
allow(commit).to receive(:committer).and_return(committer)
render partial: template, locals: {
render partial: template, formats: :html, locals: {
project: project,
ref: ref,
commit: commit
......
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