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

package_group_sort_enum_spec.rb « packages « types « graphql « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f2ed8f66fb3d83038b2041376d37a5320a7e2147 (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe GitlabSchema.types['PackageGroupSort'] do
  it 'exposes all package group sort values' do
    expect(described_class.values.keys).to contain_exactly(*%w[CREATED_DESC CREATED_ASC NAME_DESC NAME_ASC PROJECT_PATH_DESC PROJECT_PATH_ASC VERSION_DESC VERSION_ASC TYPE_DESC TYPE_ASC])
  end
end