17 lines
371 B
Ruby
17 lines
371 B
Ruby
# frozen_string_literal: true
|
|
|
|
FactoryBot.define do
|
|
factory :instance_statistics_measurement, class: 'Analytics::InstanceStatistics::Measurement' do
|
|
recorded_at { Time.now }
|
|
identifier { :projects }
|
|
count { 1_000 }
|
|
|
|
trait :project_count do
|
|
identifier { :projects }
|
|
end
|
|
|
|
trait :group_count do
|
|
identifier { :groups }
|
|
end
|
|
end
|
|
end
|