gitlab-org--gitlab-foss/spec/factories/project_daily_statistics.rb
Jacopo 5ae9a44aa1 Add project http fetch statistics API
The API get projects/:id/traffic/fetches allows user with write
access to the repository to get the number of clones for the
last 30 days.
2019-02-27 11:52:35 +01:00

8 lines
130 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :project_daily_statistic do
project
fetch_count 1
end
end