Add soft block button in moderation user view
This commit is contained in:
committed by
Javi Martín
parent
4c8dfb6695
commit
49edd6a9b1
@@ -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) }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user