X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/446837c3511bf76f11b0d1e6d5a3ff79b69b0d70..3776adcfc0404413f85ba77000fcf5a42f33d3f5:/test/system/user_status_change_test.rb diff --git a/test/system/user_status_change_test.rb b/test/system/user_status_change_test.rb index 30b923732..e4cca1eab 100644 --- a/test/system/user_status_change_test.rb +++ b/test/system/user_status_change_test.rb @@ -10,7 +10,7 @@ class UserStatusChangeTest < ApplicationSystemTestCase user = create(:user, :suspended) visit user_path(user) accept_confirm do - click_on "Unsuspend" + click_link "Unsuspend" end assert_no_content "Unsuspend" @@ -22,7 +22,7 @@ class UserStatusChangeTest < ApplicationSystemTestCase user = create(:user, :suspended) visit user_path(user) accept_confirm do - click_on "Confirm" + click_link "Confirm" end assert_no_content "Unsuspend"