X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/11a7bf7e0ecaecd3536a666ce3e798d349574903..2d7e0a397a1b2dbed74f40439c1305b1b48a063e:/test/system/user_blocks_test.rb?ds=sidebyside 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/)