]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/user_blocks_controller_test.rb
Show edit buttons on active blocks to all moderators
[rails.git] / test / controllers / user_blocks_controller_test.rb
index a3926cff0785fe32b0254212f675f971be340c35..68fc313c3f8041c6207b65532e4c43eb497a55a1 100644 (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