diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-27 21:10:29 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-27 21:10:29 +0300 |
commit | da50206243972a4cafcaea7539aed7c6986c775e (patch) | |
tree | 4078741032de093f8ae49a13ec984271402f2f35 /spec/factories/ci_platform_metrics.rb | |
parent | eef9c80f1c3e81fcb50c51d8f419ab095d4747fd (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories/ci_platform_metrics.rb')
-rw-r--r-- | spec/factories/ci_platform_metrics.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/factories/ci_platform_metrics.rb b/spec/factories/ci_platform_metrics.rb new file mode 100644 index 00000000000..478f9715021 --- /dev/null +++ b/spec/factories/ci_platform_metrics.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +FactoryBot.define do + factory :ci_platform_metric do + recorded_at { Time.zone.now } + platform_target { generate(:title) } + count { SecureRandom.random_number(100) } + end +end |