Adjust privilege action spec for new logic

This commit is contained in:
Andreas Nedbal 2024-02-28 00:45:28 +01:00 committed by Andreas Nedbal
parent af666c7733
commit aa4894fb3d
1 changed files with 1 additions and 1 deletions

View File

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