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

sort_enum_shared_examples.rb « graphql « shared_examples « support « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: becea9bcae12e48bad78e4bf6b89a4498e1151bd (plain)
1
2
3
4
5
6
7
# frozen_string_literal: true

RSpec.shared_examples 'common sort values' do
  it 'exposes all the existing common sort values' do
    expect(described_class.values.keys).to include(*%w[updated_desc updated_asc created_desc created_asc])
  end
end