Add anonymous feedback (#380)

This commit is contained in:
Riccardo Graziosi
2024-07-12 20:38:46 +02:00
committed by GitHub
parent 7a37dae22d
commit a49b5695f5
71 changed files with 1446 additions and 255 deletions

View File

@@ -0,0 +1,17 @@
require 'rails_helper'
RSpec.describe 'moderation routing', :aggregate_failures, type: :routing do
let (:base_url) { '/moderation' }
it 'routes feedback' do
expect(get: base_url + '/feedback').to route_to(
controller: 'moderation', action: 'feedback'
)
end
it 'routes users' do
expect(get: base_url + '/users').to route_to(
controller: 'moderation', action: 'users'
)
end
end