Commit 2e8f3919 authored by Siddharth Asthana's avatar Siddharth Asthana

Pass formats explicitly when rendering .html format

Changelog: other
parent 551a2f38
......@@ -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