2019-07-25 01:11:48 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-12-13 19:13:44 -05:00
|
|
|
FactoryBot.define do
|
2017-04-27 06:08:57 -04:00
|
|
|
factory :web_hook_log do
|
|
|
|
web_hook factory: :project_hook
|
2019-10-01 20:06:26 -04:00
|
|
|
trigger { 'push_hooks' }
|
2017-04-27 06:08:57 -04:00
|
|
|
url { generate(:url) }
|
2019-10-01 20:06:26 -04:00
|
|
|
request_headers do
|
|
|
|
{}
|
|
|
|
end
|
|
|
|
request_data do
|
|
|
|
{}
|
|
|
|
end
|
|
|
|
response_headers do
|
|
|
|
{}
|
|
|
|
end
|
|
|
|
response_body { '' }
|
|
|
|
response_status { '200' }
|
|
|
|
execution_duration { 2.0 }
|
|
|
|
internal_error_message { nil }
|
2017-04-27 06:08:57 -04:00
|
|
|
end
|
|
|
|
end
|