0
0
Fork 0

Convert admin/rules spec controller->system (#33377)

This commit is contained in:
Matt Jankowski 2025-01-02 07:57:55 -05:00 committed by GitHub
parent 68bfa7ae3f
commit 2e936785b7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 84 additions and 86 deletions

View file

@ -77,7 +77,7 @@ RSpec.describe 'Admin Webhooks' do
# Valid update
fill_in 'webhook_url', with: 'https://host.example/new/value/123'
expect { submit_form }
.to_not change(webhook.reload, :url)
.to(change { webhook.reload.url })
end
def submit_form