Adjust role-constrained routes spec

This commit is contained in:
Andreas Nedbal 2022-08-20 21:31:40 +02:00 committed by Andreas Nedbal
parent 45f288ef4f
commit d75bff937e
1 changed files with 1 additions and 1 deletions

View File

@ -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