mirror of
https://github.com/we-promise/sure.git
synced 2026-05-30 07:49:01 +00:00
Merge remote-tracking branch 'origin/main' into feat/goals-v2-architecture
# Conflicts: # app/views/categories/_form.html.erb
This commit is contained in:
@@ -33,7 +33,7 @@ class Settings::ProfilesControllerTest < ActionDispatch::IntegrationTest
|
||||
end
|
||||
|
||||
assert_redirected_to settings_profile_path
|
||||
assert_equal "Member removed successfully.", flash[:notice]
|
||||
assert_equal I18n.t("settings.profiles.destroy.member_removed"), flash[:notice]
|
||||
assert_raises(ActiveRecord::RecordNotFound) { User.find(@member.id) }
|
||||
end
|
||||
|
||||
@@ -74,7 +74,7 @@ class Settings::ProfilesControllerTest < ActionDispatch::IntegrationTest
|
||||
end
|
||||
|
||||
assert_redirected_to settings_profile_path
|
||||
assert_equal "Member removed successfully.", flash[:notice]
|
||||
assert_equal I18n.t("settings.profiles.destroy.member_removed"), flash[:notice]
|
||||
assert_raises(ActiveRecord::RecordNotFound) { User.find(@member.id) }
|
||||
assert_raises(ActiveRecord::RecordNotFound) { Invitation.find(invitation.id) }
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user