diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-11-19 22:11:55 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-11-19 22:11:55 +0000 |
commit | 5a8431feceba47fd8e1804d9aa1b1730606b71d5 (patch) | |
tree | e5df8e0ceee60f4af8093f5c4c2f934b8abced05 /spec/factories/zoom_meetings.rb | |
parent | 4d477238500c347c6553d335d920bedfc5a46869 (diff) | |
download | gitlab-ce-5a8431feceba47fd8e1804d9aa1b1730606b71d5.tar.gz |
Add latest changes from gitlab-org/gitlab@12-5-stable-ee
Diffstat (limited to 'spec/factories/zoom_meetings.rb')
-rw-r--r-- | spec/factories/zoom_meetings.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/spec/factories/zoom_meetings.rb b/spec/factories/zoom_meetings.rb new file mode 100644 index 00000000000..b280deca012 --- /dev/null +++ b/spec/factories/zoom_meetings.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +FactoryBot.define do + factory :zoom_meeting do + project { issue.project } + issue + url { 'https://zoom.us/j/123456789' } + issue_status { :added } + + trait :added_to_issue do + issue_status { :added } + end + + trait :removed_from_issue do + issue_status { :removed } + end + end +end |