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

container_respository_tags_sort_enum_spec.rb « types « graphql « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b464037d8d96bff072e19cee1f09ca82b76a266b (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['ContainerRepositoryTagSort'] do
  specify { expect(described_class.graphql_name).to eq('ContainerRepositoryTagSort') }

  it 'exposes all the existing issue sort values' do
    expect(described_class.values.keys).to include(
      *%w[NAME_ASC NAME_DESC]
    )
  end
end