Convert admin/rules
spec controller->system (#33377)
This commit is contained in:
parent
68bfa7ae3f
commit
2e936785b7
3 changed files with 84 additions and 86 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue