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

metadatum_type_spec.rb « pypi « packages « types « graphql « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 831307490a9de08763235eaacd7cf402b7aa0503 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe GitlabSchema.types['PypiMetadata'] do
  it 'includes pypi metadatum fields' do
    expected_fields = %w[
      author_email
      description
      description_content_type
      id
      keywords
      metadata_version
      required_python
      summary
    ]

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