Convert admin/reset
controller spec to system spec (#31643)
This commit is contained in:
parent
5d725b2c12
commit
b9269c8d38
3 changed files with 46 additions and 36 deletions
|
@ -52,7 +52,7 @@
|
|||
- if can?(:reset_password, account.user)
|
||||
%tr
|
||||
%td
|
||||
= table_link_to 'key', t('admin.accounts.reset_password'), admin_account_reset_path(account.id), method: :create, data: { confirm: t('admin.accounts.are_you_sure') }
|
||||
= table_link_to 'key', t('admin.accounts.reset_password'), admin_account_reset_path(account.id), method: :post, data: { confirm: t('admin.accounts.are_you_sure') }
|
||||
%tr
|
||||
%th= t('simple_form.labels.defaults.locale')
|
||||
%td= standard_locale_name(account.user_locale)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue