From d75bff937e631232ac431a25049e7a41e88747a8 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sat, 20 Aug 2022 21:31:40 +0200 Subject: [PATCH] Adjust role-constrained routes spec --- spec/integration/role_constrained_routes_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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