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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReuben Pereira <rpereira@gitlab.com>2019-01-31 13:05:29 +0300
committerSean McGivern <sean@gitlab.com>2019-01-31 13:05:29 +0300
commit5841a7d5efe772a9a8f09144b84fcb9aee906c4c (patch)
treee966d385aea7c9a669ef7cd6d77a8874c14bb5de /spec/factories/error_tracking
parentab8b77a87c99a5b83050e2e9d588d4940288d754 (diff)
Update Sentry client to get project list
Diffstat (limited to 'spec/factories/error_tracking')
-rw-r--r--spec/factories/error_tracking/project.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/spec/factories/error_tracking/project.rb b/spec/factories/error_tracking/project.rb
new file mode 100644
index 00000000000..5e9219b241f
--- /dev/null
+++ b/spec/factories/error_tracking/project.rb
@@ -0,0 +1,15 @@
+# frozen_string_literal: true
+
+FactoryBot.define do
+ factory :error_tracking_project, class: Gitlab::ErrorTracking::Project do
+ id '1'
+ name 'Sentry Example'
+ slug 'sentry-example'
+ status 'active'
+ organization_name 'Sentry'
+ organization_id '1'
+ organization_slug 'sentry'
+
+ skip_create
+ end
+end