Welcome to mirror list, hosted at ThFree Co, Russian Federation.

candidate_metrics.rb « ml « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 633234e5962b5dbc414a6b0c3681313b6790a69f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

FactoryBot.define do
  factory :ml_candidate_metrics, class: '::Ml::CandidateMetric' do
    association :candidate, factory: :ml_candidates

    sequence(:name) { |n| "metric#{n}" }
    value { 2.0 }
    step { 0 }
    tracked_at { 1234 }
  end
end