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

project_feature_access_level_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: a13b3be3f8ff45bece90fad466bb2b4c2f6fc65e (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe GitlabSchema.types['ProjectFeatureAccessLevel'], feature_category: :groups_and_projects do
  specify { expect(described_class.graphql_name).to eq('ProjectFeatureAccessLevel') }

  it 'exposes all the existing access levels' do
    expect(described_class.values.keys).to include(*%w[DISABLED PRIVATE ENABLED])
  end
end