Welcome to mirror list, hosted at ThFree Co, Russian Federation.

web_hook_log.rb « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 65b91b7183aced1ec9b30bac71bf81e05af0cbfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# frozen_string_literal: true

FactoryBot.define do
  factory :web_hook_log do
    web_hook factory: :project_hook
    trigger { 'push_hooks' }
    url { generate(:url) }
    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 }
  end
end