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: 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