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

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

require 'spec_helper'

RSpec.describe GitlabSchema.types['MlModelVersion'], feature_category: :mlops do
  specify { expect(described_class.description).to eq('Version of a machine learning model') }

  it 'includes all the package fields' do
    expected_fields = %w[id version created_at _links]

    expect(described_class).to include_graphql_fields(*expected_fields)
  end
end