Show edit buttons on active blocks to all moderators

This commit is contained in:
Anton Khorev 2024-08-22 12:56:15 +03:00
parent ae3e804ee6
commit 67a5809c8a
3 changed files with 3 additions and 5 deletions

View file

@ -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