Move server rule creation form to its own page (#34637)
This commit is contained in:
parent
c45ce549af
commit
aa04efb92a
5 changed files with 27 additions and 16 deletions
|
@ -26,6 +26,8 @@ RSpec.describe 'Admin Rules' do
|
|||
it 'creates new record with valid attributes' do
|
||||
visit admin_rules_path
|
||||
|
||||
click_on I18n.t('admin.rules.add_new')
|
||||
|
||||
# Invalid submission
|
||||
fill_in 'rule_text', with: ''
|
||||
expect { submit_form }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue