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: 0a86597b70d1f8790b709f424434ed8ae8f5980c (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_composition 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