X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/11a7bf7e0ecaecd3536a666ce3e798d349574903..84ff3ed43acb29f332b2811b887007981a055e35:/test/system/user_blocks_test.rb diff --git a/test/system/user_blocks_test.rb b/test/system/user_blocks_test.rb index b4b7ada7a..e9fa4e7ec 100644 --- a/test/system/user_blocks_test.rb +++ b/test/system/user_blocks_test.rb @@ -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/)