diff options
Diffstat (limited to 'spec/views/projects/commits/_commit.html.haml_spec.rb')
-rw-r--r-- | spec/views/projects/commits/_commit.html.haml_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/views/projects/commits/_commit.html.haml_spec.rb b/spec/views/projects/commits/_commit.html.haml_spec.rb index ed93240abc1..5c66fbe7dd7 100644 --- a/spec/views/projects/commits/_commit.html.haml_spec.rb +++ b/spec/views/projects/commits/_commit.html.haml_spec.rb @@ -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 |