summaryrefslogtreecommitdiff
path: root/spec/graphql/types/packages/tag_type_spec.rb
blob: 83b705157d8d356538f0244b1ff50ff907e0760f (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['PackageTag'] do
  it { expect(described_class.graphql_name).to eq('PackageTag') }

  it 'includes all the package tag fields' do
    expected_fields = %w[
        id name created_at updated_at
    ]

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