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

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

FactoryBot.define do
  factory :error_tracking_error, class: Gitlab::ErrorTracking::Error do
    id 'id'
    title 'title'
    type 'error'
    user_count 1
    count 2
    first_seen { Time.now }
    last_seen { Time.now }
    message 'message'
    culprit 'culprit'
    external_url 'http://example.com/id'
    project_id 'project1'
    project_name 'project name'
    project_slug 'project_name'
    short_id 'ID'
    status 'unresolved'
    frequency []

    skip_create
  end
end