File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,10 @@ e2_ep_susp:
7373 suspension_end : ~
7474 suspension_message : go away
7575
76- e_sp :
76+ sp_eo :
77+ community_user : sample_spammer
78+ ability : everyone
79+
80+ sp_ur :
7781 community_user : sample_spammer
7882 ability : unrestricted
Original file line number Diff line number Diff line change @@ -205,7 +205,8 @@ class UserTest < ActiveSupport::TestCase
205205 communities . each do |community |
206206 CommunityUser . unscoped . undeleted . where ( community_id : community . id ) . each do |cu |
207207 unless cu . user . deleted
208- assert_equal cu . user . ability_on? ( community . id , everyone . internal_id ) , true
208+ assert cu . user . ability_on? ( community . id , everyone . internal_id ) ,
209+ "Expected user '#{ cu . user . username } ' to have the 'everyone' ability"
209210 end
210211 end
211212 end
You can’t perform that action at this time.
0 commit comments