From aa4894fb3d779b4fe73dbd1c7d5b521a834c3689 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Wed, 28 Feb 2024 00:45:28 +0100 Subject: [PATCH] Adjust privilege action spec for new logic --- spec/controllers/ajax/moderation_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/controllers/ajax/moderation_controller_spec.rb b/spec/controllers/ajax/moderation_controller_spec.rb index 97462e81..e4709fd7 100644 --- a/spec/controllers/ajax/moderation_controller_spec.rb +++ b/spec/controllers/ajax/moderation_controller_spec.rb @@ -225,7 +225,7 @@ describe Ajax::ModerationController, :ajax_controller, type: :controller do describe "#privilege" do valid_role_pairs = { moderator: :moderator, - admin: :administrator + administrator: :administrator }.freeze let(:params) do