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.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/spec/factories/integrations.rb b/spec/factories/integrations.rb
index 63f85c04ac7..76415f82ed0 100644
--- a/spec/factories/integrations.rb
+++ b/spec/factories/integrations.rb
@@ -111,6 +111,12 @@ FactoryBot.define do
end
end
+ factory :shimo_integration, class: 'Integrations::Shimo' do
+ project
+ active { true }
+ external_wiki_url { 'https://shimo.example.com/desktop' }
+ end
+
factory :confluence_integration, class: 'Integrations::Confluence' do
project
active { true }
@@ -216,6 +222,11 @@ FactoryBot.define do
template { true }
end
+ trait :group do
+ group
+ project { nil }
+ end
+
trait :instance do
project { nil }
instance { true }