diff --git a/spec/integration/role_constrained_routes_spec.rb b/spec/integration/role_constrained_routes_spec.rb index cd613f20..b4072840 100644 --- a/spec/integration/role_constrained_routes_spec.rb +++ b/spec/integration/role_constrained_routes_spec.rb @@ -49,5 +49,5 @@ describe "role-constrained routes", type: :request do it_behaves_like("routes for", [:administrator], -> { get("/justask_admin") }) it_behaves_like("routes for", [:administrator], -> { get("/sidekiq") }) it_behaves_like("routes for", [:administrator], -> { get("/pghero") }) - it_behaves_like("routes for", %i[administrator moderator], -> { get("/moderation") }) + it_behaves_like("routes for", %i[administrator moderator], -> { get("/moderation/reports") }) end