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

@ -71,9 +71,9 @@ RSpec.describe 'Invites' do
def fill_invite_form
select I18n.t('invites.max_uses', count: 100),
from: I18n.t('simple_form.labels.defaults.max_uses')
from: form_label('defaults.max_uses')
select I18n.t("invites.expires_in.#{30.minutes.to_i}"),
from: I18n.t('simple_form.labels.defaults.expires_in')
check I18n.t('simple_form.labels.defaults.autofollow')
from: form_label('defaults.expires_in')
check form_label('defaults.autofollow')
end
end