summaryrefslogtreecommitdiff
path: root/spec/graphql/types/packages/helm/maintainer_type_spec.rb
blob: 9ad51427d42136da64965090471c605a765e5c00 (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['PackageHelmMaintainerType'] do
  it { expect(described_class.graphql_name).to eq('PackageHelmMaintainerType') }

  it 'includes helm maintainer fields' do
    expected_fields = %w[
      name email url
    ]

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