Fix new rubocop warnings

This commit is contained in:
Tom Hughes 2023-09-26 18:35:05 +01:00
parent a18366903e
commit e8af4b85bf
23 changed files with 57 additions and 60 deletions

View file

@ -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"