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

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

require 'spec_helper'

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

  it 'exposes all the severity values' do
    expect(described_class.values.keys).to include(*%w[CRITICAL HIGH MEDIUM LOW INFO UNKNOWN])
  end
end