summaryrefslogtreecommitdiff
path: root/spec/factories/project_feature_usage.rb
blob: 8265ea04392dfd9bde6f389d285319031af82a15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

FactoryBot.define do
  factory :project_feature_usage do
    project

    trait :dvcs_cloud do
      jira_dvcs_cloud_last_sync_at { Time.current }
    end

    trait :dvcs_server do
      jira_dvcs_server_last_sync_at { Time.current }
    end
  end
end