blob: 28755e1301bd7d2b3709eb526405b56acaf96f0d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe GitlabSchema.types['UserCalloutFeatureNameEnum'] do
specify { expect(described_class.graphql_name).to eq('UserCalloutFeatureNameEnum') }
it 'exposes all the existing user callout feature names' do
expect(described_class.values.keys).to match_array(::UserCallout.feature_names.keys.map(&:upcase))
end
end
|