Use methods from SystemHelpers
more consistently (#33973)
This commit is contained in:
parent
5fa034fe68
commit
551339401d
15 changed files with 21 additions and 21 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue