Welcome to mirror list, hosted at ThFree Co, Russian Federation.

in_product_marketing_email.rb « users « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 42309319bf3dde020b5a5f247343dc5b32540a5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

FactoryBot.define do
  factory :in_product_marketing_email, class: 'Users::InProductMarketingEmail' do
    user

    track { 'create' }
    series { 0 }

    trait :campaign do
      track { nil }
      series { nil }
      campaign { Users::InProductMarketingEmail::BUILD_IOS_APP_GUIDE }
    end
  end
end