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
|
|
|
|
trigger 'push_hooks'
|
|
|
|
url { generate(:url) }
|
|
|
|
request_headers {}
|
|
|
|
request_data {}
|
|
|
|
response_headers {}
|
|
|
|
response_body ''
|
|
|
|
response_status '200'
|
|
|
|
execution_duration 2.0
|
|
|
|
internal_error_message nil
|
|
|
|
end
|
|
|
|
end
|