summaryrefslogtreecommitdiff
path: root/spec/factories/ml/candidate_metrics.rb
blob: 28e3974d39fe25e8e39bf26b4aca332778315df9 (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 { 1 }
    tracked_at { 1234 }
  end
end