Adjust privilege action spec for new logic
This commit is contained in:
parent
af666c7733
commit
aa4894fb3d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue