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.
6 lines
83 B
Ruby
6 lines
83 B
Ruby
FactoryBot.define do
|
|
factory(:moderation_report) do
|
|
reason {"xxx"}
|
|
end
|
|
end
|