This commit is contained in:
cryptogopher 2023-05-14 16:17:08 +02:00
parent 5e09adeae7
commit 54d8bc6b55

View File

@ -140,7 +140,7 @@ class UsersTest < ApplicationSystemTestCase
sign_in user: user sign_in user: user
# TODO: remove condition after root changed to different path than profile # TODO: remove condition after root changed to different path than profile
unless has_current_path?(edit_user_registration_path) unless has_current_path?(edit_user_registration_path)
first(:link_r_button, user.email).click first(:link_or_button, user.email).click
end end
assert_difference ->{ User.count }, -1 do assert_difference ->{ User.count }, -1 do
# TODO: accept_confirm when modal dialog is working # TODO: accept_confirm when modal dialog is working