mirror of
https://github.com/we-promise/sure.git
synced 2026-04-11 00:04:47 +00:00
Refactor: Use native error i18n lookup (#1076)
This commit is contained in:
@@ -25,6 +25,7 @@ class Settings::ProfilesControllerTest < ActionDispatch::IntegrationTest
|
||||
delete settings_profile_url
|
||||
|
||||
assert_redirected_to settings_profile_url
|
||||
assert_equal "Admin cannot delete account while other users are present. Please delete all members first.", flash[:alert]
|
||||
assert_no_enqueued_jobs only: UserPurgeJob
|
||||
assert User.find(@admin.id).active?
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user