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

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

FactoryBot.define do
  factory :project_error_tracking_setting, class: 'ErrorTracking::ProjectErrorTrackingSetting' do
    project
    api_url { 'https://sentrytest.gitlab.com/api/0/projects/sentry-org/sentry-project' }
    enabled { true }
    token { 'access_token_123' }
    project_name { 'Sentry Project' }
    organization_name { 'Sentry Org' }

    trait :disabled do
      enabled { false }
    end
  end
end