Fix new rubocop warnings
This commit is contained in:
parent
a18366903e
commit
e8af4b85bf
23 changed files with 57 additions and 60 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue