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
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue