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: 8bfe6dde91568f362ea48ce661ed98e3dbefef15 (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: :secrets_management 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