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

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

require 'spec_helper'

RSpec.describe GitlabSchema.types['PackageHelmMetadataType'] do
  it { expect(described_class.graphql_name).to eq('PackageHelmMetadataType') }

  it 'includes helm json fields' do
    expected_fields = %w[
      name home sources version description keywords maintainers icon apiVersion condition tags appVersion deprecated annotations kubeVersion dependencies type
    ]

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