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

availability_enum_spec.rb « types « graphql « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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