]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/user_blocks_controller_test.rb
Show edit links for revoked blocks to revokers
[rails.git] / test / controllers / user_blocks_controller_test.rb
index dd0b1287b414c7805395a82bcccb62c0b5c773e6..d164d6aef3114d6f00d45abadb2433a43eb164c3 100644 (file)
@@ -212,7 +212,7 @@ class UserBlocksControllerTest < ActionDispatch::IntegrationTest
     check_block_buttons block, :edit => 1
 
     session_for(revoker_user)
     check_block_buttons block, :edit => 1
 
     session_for(revoker_user)
-    check_block_buttons block
+    check_block_buttons block, :edit => 1
   end
 
   private
   end
 
   private