diff options
Diffstat (limited to 'spec/graphql/types/admin/analytics')
-rw-r--r-- | spec/graphql/types/admin/analytics/instance_statistics/measurement_identifier_enum_spec.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/graphql/types/admin/analytics/instance_statistics/measurement_identifier_enum_spec.rb b/spec/graphql/types/admin/analytics/instance_statistics/measurement_identifier_enum_spec.rb index 625fb17bbf8..8a7408224a2 100644 --- a/spec/graphql/types/admin/analytics/instance_statistics/measurement_identifier_enum_spec.rb +++ b/spec/graphql/types/admin/analytics/instance_statistics/measurement_identifier_enum_spec.rb @@ -6,7 +6,10 @@ RSpec.describe GitlabSchema.types['MeasurementIdentifier'] do specify { expect(described_class.graphql_name).to eq('MeasurementIdentifier') } it 'exposes all the existing identifier values' do - identifiers = Analytics::InstanceStatistics::Measurement.identifiers.keys.map(&:upcase) + ee_only_identifiers = %w[billable_users] + identifiers = Analytics::InstanceStatistics::Measurement.identifiers.keys.reject do |x| + ee_only_identifiers.include?(x) + end.map(&:upcase) expect(described_class.values.keys).to match_array(identifiers) end |