diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-11 15:09:26 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-11 15:09:26 +0300 |
commit | c9687bdf58e9d4a9c3942f587bd4841f42e3b5de (patch) | |
tree | a60a2e20f152483be6a92bacdf10564bbc96c664 /spec/factories/services.rb | |
parent | 3f3e4bcc50a3280d03299c2c263eafd9c8e3bd7b (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories/services.rb')
-rw-r--r-- | spec/factories/services.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/factories/services.rb b/spec/factories/services.rb index ffa51abf26f..ebab370ccf6 100644 --- a/spec/factories/services.rb +++ b/spec/factories/services.rb @@ -4,6 +4,11 @@ FactoryBot.define do factory :service do project type { 'Service' } + + trait :instance do + project { nil } + instance { true } + end end factory :custom_issue_tracker_service, class: 'CustomIssueTrackerService' do |