blob: 57915d95c45e168392004a3a9c03b3359d5566f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe GitlabSchema.types['OrganizationGroupSort'], feature_category: :cell do
let(:sort_values) do
%w[
ID_ASC
ID_DESC
NAME_ASC
NAME_DESC
PATH_ASC
PATH_DESC
UPDATED_AT_ASC
UPDATED_AT_DESC
CREATED_AT_ASC
CREATED_AT_DESC
]
end
specify { expect(described_class.graphql_name).to eq('OrganizationGroupSort') }
it 'exposes all the organization groups sort values' do
expect(described_class.values.keys).to include(*sort_values)
end
end
|