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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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