summaryrefslogtreecommitdiff
path: root/spec/graphql/types/packages/pypi/metadatum_type_spec.rb
blob: 16fb3ef2098ed3956bd54283168738865caa4a19 (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['PypiMetadata'] do
  it 'includes pypi metadatum fields' do
    expected_fields = %w[
      id required_python
    ]

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