summaryrefslogtreecommitdiff
path: root/spec/factories/ml/candidate_params.rb
blob: 73cb0c540898c6e21b1ca52374dfb05106171e10 (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

FactoryBot.define do
  factory :ml_candidate_params, class: '::Ml::CandidateParam' do
    association :candidate, factory: :ml_candidates

    sequence(:name) { |n| "metric#{n}" }
    sequence(:value) { |n| "value#{n}" }
  end
end