mastodon/spec/fabricators/webhook_fabricator.rb

8 lines
148 B
Ruby

# frozen_string_literal: true
Fabricator(:webhook) do
url { Faker::Internet.url }
secret { SecureRandom.hex }
events { Webhook::EVENTS }
end