Use methods from SystemHelpers more consistently (#33973)

This commit is contained in:
Matt Jankowski
2025-03-07 03:02:55 -05:00
committed by GitHub
parent 5fa034fe68
commit 551339401d
15 changed files with 21 additions and 21 deletions

View File

@@ -27,7 +27,7 @@ RSpec.describe 'Settings Privacy' do
.to change { user.account.reload.discoverable }.to(true)
expect(page)
.to have_content(I18n.t('privacy.title'))
.and have_content(I18n.t('generic.changes_saved_msg'))
.and have_content(success_message)
expect(ActivityPub::UpdateDistributionWorker)
.to have_received(:perform_async).with(user.account.id)
end