discourse/spec/fabricators/web_hook_event_fabricator.rb
Guhyoun Nam c13f64d35b
FEATURE: Add Filter for Webhook Events by Status (#27332)
* FEATURE: Add Filter for Webhook Events by Status

* Fixing multiple issues

* Lint

* Fixing multiple issues

* Change the range of the status for webhook events
2024-06-07 10:26:00 -05:00

8 lines
164 B
Ruby

# frozen_string_literal: true
Fabricator(:web_hook_event) do
web_hook { Fabricate(:web_hook) }
payload { { some_key: "some_value" }.to_json }
status 200
end