Show edit buttons on active blocks to all moderators
This commit is contained in:
parent
ae3e804ee6
commit
67a5809c8a
3 changed files with 3 additions and 5 deletions
|
@ -173,7 +173,7 @@ class UserBlocksControllerTest < ActionDispatch::IntegrationTest
|
|||
block = create(:user_block, :creator => creator_user)
|
||||
|
||||
session_for(other_moderator_user)
|
||||
check_block_buttons block, :revoke => 1
|
||||
check_block_buttons block, :edit => 1, :revoke => 1
|
||||
|
||||
session_for(creator_user)
|
||||
check_block_buttons block, :edit => 1, :revoke => 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue