mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 11:47:56 +01:00
Add anonymous feedback (#380)
This commit is contained in:
committed by
GitHub
parent
7a37dae22d
commit
a49b5695f5
17
spec/routing/moderation_routing_spec.rb
Normal file
17
spec/routing/moderation_routing_spec.rb
Normal 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
|
||||
Reference in New Issue
Block a user