blob: 26d7c10a71550aeff800f27291df0880c372f4d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe GitlabSchema.types['Organization'], feature_category: :cell do
let(:expected_fields) { %w[groups id name organization_users path] }
specify { expect(described_class.graphql_name).to eq('Organization') }
specify { expect(described_class).to require_graphql_authorizations(:read_organization) }
specify { expect(described_class).to have_graphql_fields(*expected_fields) }
end
|