debian-mirror-gitlab/spec/factories/ml/experiment_metadata.rb
2023-03-04 22:38:38 +05:30

10 lines
274 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :ml_experiment_metadata, class: '::Ml::ExperimentMetadata' do
association :experiment, factory: :ml_experiments
sequence(:name) { |n| "metadata_#{n}" }
sequence(:value) { |n| "value#{n}" }
end
end