Add tests for moderation reports
Added an HTML render for the new endpoint to get the tests to work. It should probably have had one anyways so this is alright.
This commit is contained in:
5
app/views/moderation_reports/new.html.erb
Normal file
5
app/views/moderation_reports/new.html.erb
Normal file
@@ -0,0 +1,5 @@
|
||||
<div id="c-moderation-reports">
|
||||
<div id="a-new">
|
||||
<%= render "moderation_reports/new", moderation_report: @moderation_report %>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user