Adjust role-constrained routes spec
This commit is contained in:
parent
45f288ef4f
commit
d75bff937e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue