Add soft block button in moderation user view

This commit is contained in:
Carlos Iniesta
2020-10-25 22:26:29 +01:00
committed by Javi Martín
parent 4c8dfb6695
commit 49edd6a9b1
10 changed files with 43 additions and 7 deletions

View File

@@ -90,6 +90,9 @@ describe Abilities::Moderator do
it { should_not be_able_to(:hide, user) }
it { should be_able_to(:hide, other_user) }
it { should_not be_able_to(:soft_block, user) }
it { should be_able_to(:soft_block, other_user) }
it { should_not be_able_to(:block, user) }
it { should be_able_to(:block, other_user) }