debian-mirror-gitlab/spec/factories/project_feature_usage.rb

16 lines
284 B
Ruby
Raw Normal View History

2020-11-24 15:15:51 +05:30
# 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