Move server rule creation form to its own page (#34637)

This commit is contained in:
Claire authored and GitHub committed 2025-05-14 09:43:07 +00:00
1 parent c45ce549af
commit aa04efb92a
5 files changed
+27 -16

No files matched your search

+2
View File
@@ -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 }