diff options
Diffstat (limited to 'spec/factories/project_feature_usage.rb')
-rw-r--r-- | spec/factories/project_feature_usage.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/spec/factories/project_feature_usage.rb b/spec/factories/project_feature_usage.rb new file mode 100644 index 00000000000..8265ea04392 --- /dev/null +++ b/spec/factories/project_feature_usage.rb @@ -0,0 +1,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 |