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

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

require 'spec_helper'

RSpec.describe Types::Ci::VariableSortEnum, feature_category: :pipeline_authoring do
  it 'exposes the available order methods' do
    expect(described_class.values).to match(
      'KEY_ASC' => have_attributes(value: :key_asc),
      'KEY_DESC' => have_attributes(value: :key_desc)
    )
  end
end