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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/components/projects/ml/show_ml_model_component_spec.rb')
-rw-r--r--spec/components/projects/ml/show_ml_model_component_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/components/projects/ml/show_ml_model_component_spec.rb b/spec/components/projects/ml/show_ml_model_component_spec.rb
index 34b8cbe96ca..d12692ca792 100644
--- a/spec/components/projects/ml/show_ml_model_component_spec.rb
+++ b/spec/components/projects/ml/show_ml_model_component_spec.rb
@@ -35,6 +35,7 @@ RSpec.describe Projects::Ml::ShowMlModelComponent, type: :component, feature_cat
'latestVersion' => {
'version' => model1.latest_version.version,
'description' => model1.latest_version.description,
+ 'path' => "/#{project.full_path}/-/ml/models/#{model1.id}/versions/#{model1.latest_version.id}",
'projectPath' => "/#{project.full_path}",
'packageId' => model1.latest_version.package_id,
'candidate' => {