]> git.openstreetmap.org Git - rails.git/blobdiff - test/system/user_blocks_test.rb
Merge remote-tracking branch 'upstream/pull/5248'
[rails.git] / test / system / user_blocks_test.rb
index b4b7ada7aa947414407254b92f7b15ac91304eeb..e9fa4e7ec48a6c970aaa9710666c461b8276fe34 100644 (file)
@@ -111,7 +111,7 @@ class UserBlocksSystemTest < ApplicationSystemTestCase
     assert_no_field "Needs view"
 
     fill_in "Reason", :with => "Revoking 0-hour blocks works"
-    click_on "Update block"
+    click_on "Revoke block"
     assert_text(/Revoker:\s+#{Regexp.escape other_moderator_user.display_name}/)
     assert_text(/Status:\s+Ended/)
     assert_text(/Reason for block:\s+Revoking 0-hour blocks works/)