summaryrefslogtreecommitdiff
path: root/spec/graphql/types/availability_enum_spec.rb
blob: a9bdf5e4da60234c4833407b5a45ae197d493a51 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

require 'spec_helper'

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

  it 'exposes all the existing access levels' do
    expect(described_class.values.keys).to match_array(%w[NOT_SET BUSY])
  end
end