mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 19:57:52 +01:00
17 lines
416 B
Ruby
17 lines
416 B
Ruby
|
|
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
|