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.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/factories/integrations.rb b/spec/factories/integrations.rb
index a89edc19cc7..b74b81d4db9 100644
--- a/spec/factories/integrations.rb
+++ b/spec/factories/integrations.rb
@@ -254,6 +254,13 @@ FactoryBot.define do
active { false }
end
+ factory :discord_integration, class: 'Integrations::Discord' do
+ chat_notification
+ project
+ active { true }
+ type { 'Integrations::Discord' }
+ end
+
factory :mattermost_integration, class: 'Integrations::Mattermost' do
chat_notification
project
@@ -319,6 +326,7 @@ FactoryBot.define do
package_name { 'com.gitlab.foo.bar' }
service_account_key_file_name { 'service_account.json' }
service_account_key { File.read('spec/fixtures/service_account.json') }
+ google_play_protected_refs { true }
end
factory :squash_tm_integration, class: 'Integrations::SquashTm' do