gitlab-org--gitlab-foss/spec/factories/project_error_tracking_sett...

22 lines
533 B
Ruby

# 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' }
integrated { false }
trait :disabled do
enabled { false }
end
trait :integrated do
integrated { true }
end
end
end