# frozen_string_literal: true

require 'spec_helper'

RSpec.describe GitlabSchema.types['VulnerabilitySort'] do
  it { expect(described_class.graphql_name).to eq('VulnerabilitySort') }

  it 'exposes all the existing Vulnerability sort orders' do
    expect(described_class.values.keys).to include(*%w[severity_desc severity_asc])
  end
end
