Change submit button on block edit page when can only revoke
This commit is contained in:
parent
11a7bf7e0e
commit
76736bab4f
4 changed files with 14 additions and 5 deletions
|
@ -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/)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue