Pass correct params to webhook reactivation url helper.

ref: https://app.fizzy.do/5986089/cards/3219
This commit is contained in:
Mike Dalessio
2025-12-05 22:35:40 -05:00
parent 00db048f9e
commit 69f8216982
2 changed files with 10 additions and 1 deletions
@@ -14,6 +14,10 @@ class WebhooksControllerTest < ActionDispatch::IntegrationTest
webhook = webhooks(:active)
get board_webhook_path(webhook.board, webhook)
assert_response :success
webhook = webhooks(:inactive)
get board_webhook_path(webhook.board, webhook)
assert_response :success
end
test "new" do
@@ -63,6 +67,11 @@ class WebhooksControllerTest < ActionDispatch::IntegrationTest
get edit_board_webhook_path(webhook.board, webhook)
assert_response :success
assert_select "form"
webhook = webhooks(:inactive)
get edit_board_webhook_path(webhook.board, webhook)
assert_response :success
assert_select "form"
end
test "update with valid params" do