mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 19:27:52 +01:00
12 lines
285 B
Ruby
12 lines
285 B
Ruby
FactoryBot.define do
|
|
factory :webhook do
|
|
sequence(:name) { |n| "Webhook#{n}" }
|
|
description { "Webhook description" }
|
|
url { "http://example.com" }
|
|
trigger { "new_post" }
|
|
http_method { "http_post" }
|
|
http_body { "requestbody" }
|
|
http_headers { "" }
|
|
end
|
|
end
|