diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-14 18:08:14 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-14 18:08:14 +0300 |
commit | 87f286558de1f5790b0b1742f10548387b5d147a (patch) | |
tree | c483d5f3542094d2123c8116ffee22430d9ad9c9 /spec/factories/services.rb | |
parent | 674e7e2c3d295704bdf504dd0caa2e5a2d9b5cd2 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories/services.rb')
-rw-r--r-- | spec/factories/services.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/factories/services.rb b/spec/factories/services.rb index c011a9e3bb4..b6696769da9 100644 --- a/spec/factories/services.rb +++ b/spec/factories/services.rb @@ -158,6 +158,13 @@ FactoryBot.define do token { 'test_token' } end + factory :slack_service do + project + active { true } + webhook { 'https://slack.service.url' } + type { 'SlackService' } + end + # this is for testing storing values inside properties, which is deprecated and will be removed in # https://gitlab.com/gitlab-org/gitlab/issues/29404 trait :without_properties_callback do |