Move server rule creation form to its own page (#34637)
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user