summaryrefslogtreecommitdiff
path: root/spec/factories/zoom_meetings.rb
blob: b280deca012eb73130fb06724018a002cd4af022 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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