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:
Diffstat (limited to 'spec/factories/integrations.rb')
-rw-r--r--spec/factories/integrations.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/spec/factories/integrations.rb b/spec/factories/integrations.rb
index 5ac26b7a260..ebbf1b560e5 100644
--- a/spec/factories/integrations.rb
+++ b/spec/factories/integrations.rb
@@ -43,6 +43,19 @@ FactoryBot.define do
end
end
+ factory :packagist_integration, class: 'Integrations::Packagist' do
+ project
+ type { 'Integrations::Packagist' }
+ active { true }
+ properties do
+ {
+ username: 'username',
+ token: 'test',
+ server: 'https://packagist.example.com'
+ }
+ end
+ end
+
factory :prometheus_integration, class: 'Integrations::Prometheus' do
project
active { true }