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:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-07-24 21:09:18 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-07-24 21:09:18 +0300
commit654c001b46597a2d2a47ba4dfff341de40c5dd06 (patch)
treeb3777bb938637c6db441e8c4e4239cf8a759c422 /spec/factories/error_tracking
parentb5bd3ce62cad4afef83035333dd0341a45e9aa03 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories/error_tracking')
-rw-r--r--spec/factories/error_tracking/client_key.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/spec/factories/error_tracking/client_key.rb b/spec/factories/error_tracking/client_key.rb
new file mode 100644
index 00000000000..eb5acc8dab7
--- /dev/null
+++ b/spec/factories/error_tracking/client_key.rb
@@ -0,0 +1,12 @@
+# frozen_string_literal: true
+
+FactoryBot.define do
+ factory :error_tracking_client_key, class: 'ErrorTracking::ClientKey' do
+ project
+ active { true }
+
+ trait :disabled do
+ active { false }
+ end
+ end
+end