debian-mirror-gitlab/spec/factories/project_error_tracking_settings.rb

21 lines
508 B
Ruby
Raw Normal View History

2019-02-15 15:39:39 +05:30
# frozen_string_literal: true
FactoryBot.define do
2020-03-13 15:44:24 +05:30
factory :project_error_tracking_setting, class: 'ErrorTracking::ProjectErrorTrackingSetting' do
2019-02-15 15:39:39 +05:30
project
2020-03-13 15:44:24 +05:30
api_url { 'https://sentrytest.gitlab.com/api/0/projects/sentry-org/sentry-project' }
2019-12-21 20:55:43 +05:30
enabled { true }
token { 'access_token_123' }
project_name { 'Sentry Project' }
organization_name { 'Sentry Org' }
2020-03-13 15:44:24 +05:30
trait :disabled do
enabled { false }
end
2021-10-27 15:23:28 +05:30
trait :integrated do
integrated { true }
end
2019-02-15 15:39:39 +05:30
end
end